psiz-org / psiz

A python package for inferring psychological embeddings.
https://psiz.org
Apache License 2.0
31 stars 7 forks source link

Fix packaging/import error for non-editable installs. #25

Closed roads closed 3 years ago

roads commented 3 years ago

Previous versions were installed and tested using editable mode. This masked two critical problems with the package structure, resulting in a broken package when installed using non-editable mode.

  1. The setup.py file does not list sub-packages resulting in import errors.
  2. Four sub-directories are missing an init file resulting in import errors.

Current workaround is to install using editable mode.

roads commented 3 years ago

The setup.py file and missing __init__.py files have been added. (see commit: https://github.com/roads/psiz/commit/66cebd368a3280729b090228e2f0369789d601bb)