pygobject / pgi-docgen

API Documentation Generator for PyGObject
https://lazka.github.io/pgi-docs/
GNU Lesser General Public License v2.1
128 stars 36 forks source link

enhance docs, depends on module lxml #201

Open bootchk opened 3 years ago

bootchk commented 3 years ago

On newly installed Ubuntu 20.04, after:

then:

source bootstrap.sh
./tools/build.sh GimpUI-3.0

gave:

   from lxml import etree
ModuleNotFoundError: No module named 'lxml'

Then:

pip install lxml
./tools/build.sh GimpUI-3.0

seems to get past the previous error.

bootchk commented 3 years ago

Also, on a clean install of Ubuntu 20.10, the module 'requests' does not seem to be installed, but is a direct dependency of pgi-docgen, see gen/modules.py line 12.

Maybe the documented list of dependencies did not work for me since I used pip --no-deps. In that case, you will find more transitive dependencies, such as the modules urllib3 and chardet, which the module requests seems to depend on. Possibly one of the other documented dependencies installs module requests when not using --no-deps.

At any rate, the module requests is a direct dependency.