python-mkdocs new dependancy
Hello,
When building python-mkdocs from git source I get this error:
LANG=C.UTF-8 PYTHONPATH=. ./debian/scripts/mkdocs build
Traceback (most recent call last):
File "./debian/scripts/mkdocs", line 7, in <module>
from mkdocs.__main__ import cli
File "/<<PKGBUILDDIR>>/mkdocs/__main__.py", line 77, in <module>
theme_choices = utils.get_theme_names()
File "/<<PKGBUILDDIR>>/mkdocs/utils/__init__.py", line 382, in get_theme_names
return get_themes().keys()
File "/<<PKGBUILDDIR>>/mkdocs/utils/__init__.py", line 374, in get_themes
for name, theme in themes.items())
File "/<<PKGBUILDDIR>>/mkdocs/utils/__init__.py", line 374, in <genexpr>
for name, theme in themes.items())
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2201, in load
self.require(*args, **kwargs)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 2218, in require
items = working_set.resolve(reqs, env, installer)
File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 830, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'mkdocs-bootswatch>=0.1.0' distribution was not found and is required by the application
debian/rules:12: recipe for target 'override_dh_auto_build' failed
The python-mkdocs-bootswatch package is distributed as a python module
but doesn't contain python code. It appears to contain HTML and CSS
themes for mkdocs.
What is the appropriate fix? Should I create a new mkdocs-bootswatch
package? Or should I try to somehow incooporate it into the
python-mkdocs package (not sure pybuild/git-dpm supports this?)
I think the package is only useful for mkdocs.
I am somewhat uneasy creating a python3-mkdocs-bootswatch and a
python-mkdocs-bootswatch wouldn't even get used.
Any ideas how to resolve this?
--
Brian May <brian@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/
Reply to: