Closed kloczek closed 2 years ago
I suspect an error in your installation or environment. The full instructions on how to generate the docs are wrapped into tox and work in our CI and locally for me:
tox -e docs
which is equivalent to a make html
with an already installed hpack package.
Can you test that and report back please?
No only setuptools build_sphinx
assumes that module will be available in root directory of the project. For some reason you've choose to put source code under src/hyper. That breaks many things in setuptools and this why you've been forced to wrap many things in tox.
This is why I've created that ticket (if it was not obvious).
I would suggest to move src/hyper/ to hyper/ on next release.
Sorry, your original issue was not obvious to identify as you did not provide any comment or explanation of what problem you are encountering. Just dumping a long command line output is not descriptive or providing any insights into your environment, what you are trying to do, and why you think this is a problem.
We are closely following the official PyPA sample project and repository directory layout: https://github.com/pypa/sampleproject
This should not be an issue because we use tox to provide well-defined and repeatable virtualenvs which correctly install the package and define all its dependencies - all into the correct locations. Does tox -e docs
work for you and build a clean set of documentation files with sphinx?
Please use the tooling and configuration as we defined it for this project - if you don't follow them, you are very likely to experience issues (as you have reported multiple of them already).
Sorry, your original issue was not obvious to identify as you did not provide any comment or explanation of what problem you are encountering.
Command is in first line of that ticket:
+ /usr/bin/python3 setup.py build_sphinx -b man --build-dir build/sphinx