0.24.0: problem with generate module documentation
Issue #146
new
After “setup.py build”
[tkloczko@barrel pybtex-0.24.0]$ PYTHONPPATH=#PWD/build/lib sphinx-build -b man -d python-pybtex docs/source build/sphinx/man
Running Sphinx v4.0.2
Configuration error:
There is a programmable error in your configuration file:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/sphinx/config.py", line 323, in eval_config_file
exec(code, namespace)
File "/home/tkloczko/rpmbuild/BUILD/pybtex-0.24.0/docs/source/conf.py", line 19, in <module>
from pybtex import __version__
ModuleNotFoundError: No module named 'pybtex'
The same fails using ma
[tkloczko@barrel pybtex-0.24.0]$ PYTHONPATH=$PWD/build/lib make -C docs man
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/pybtex-0.24.0/docs'
sphinx-build -b man -d build/doctrees source build/man
Running Sphinx v4.0.2
loading translations [en]... done
Exception occurred:
File "/usr/lib/python3.8/site-packages/pkg_resources/__init__.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pybtex' distribution was not found and is required by the application
The full traceback has been saved in /tmp/sphinx-err-3fixlo14.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make: *** [Makefile:137: man] Error 2
make: Leaving directory '/home/tkloczko/rpmbuild/BUILD/pybtex-0.24.0/docs'
ke