[Brian May, 2016-05-10]
> Brian May <b...@debian.org> writes:
> 
> >>   export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/mkdocs/themes/
> >
> > Was hoping to avoid the need to add /usr/share/mkdocs/themes to the
> > sys.path.
> 
> This results in the following lintian warning:
> 
> E: mkdocs-bootstrap: package-installs-python-pycache-dir 
> usr/share/mkdocs/themes/mkdocs_bootstrap/__pycache__/

dh_python* is checking usr/share/mkdocs-bootstrap by default (among
other dirs). If you want it to check usr/share/mkdocs as well, you have
to point it to, f.e. like this:

override_dh_python3:
        dh_python3 -N mkdocs-bootstrap
        dh_python3 -p mkdocs-bootstrap /usr/share/mkdocs/themes/

-- 
Piotr Ożarowski                         Debian GNU/Linux Developer
www.ozarowski.pl          www.griffith.cc           www.debian.org
GPG Fingerprint: 1D2F A898 58DA AF62 1786 2DF7 AEF6 F1A2 A745 7645

Reply via email to