inveniosoftware-attic / invenio-circulation-legacy

https://invenio-circulation.readthedocs.io
GNU General Public License v2.0
4 stars 8 forks source link

global: sphinx-build failure (no module named 'invenio_circulation') #58

Open mvesper opened 7 years ago

mvesper commented 7 years ago

When running the command: sphinx-build -qnNW -b doctest docs docs/_build/doctest from run-tests.sh, sphinx-build fails as can be seen here: https://travis-ci.org/inveniosoftware/invenio-circulation/jobs/170784723

Adding sys.path.insert(0, os.path.abspath('..')) in docs/conf.py, as in: https://github.com/mvesper/invenio-circulation/blob/fcf1b7a812eb44204163bf85f5bccf6159f55e00/docs/conf.py#L34-L35 , fixes the issue for now.

This line should eventually be removed.

jirikuncar commented 7 years ago

If I remember well @hachreak had similar problem elsewhere. Maybe he has a solution.

hachreak commented 7 years ago

In my case I resolved calling pip install -e . because apparently the installation of samplepkg was overwriting something necessary to sphinx.

jirikuncar commented 7 years ago

Thanks @hachreak !