[PICCA Frederic-Emmanuel, 2014-04-06] > so I would like to know how to change this snipset to use the > {build_dir} for the PYTHONPATH.
you cannot really use pybuild for this, it will invoke your command after or before each interpreter/version call. If you hardcode pybuild's internal paths on the other hand (.pybuild/something in case of distutils build plugin), it will break once the internal path changes... I suggest to move building docs to install target and add debian/foo/usr/lib/python3/dist-packages) to PYTHONPATH. I also build directly into debian/foo/usr/share/doc/foo/html so I feel a little less guilty for doing it in install step ;) If it's really needed, I can add something to expose all pybuild's {variables}, but for now, I'd use install step instead of build one. -- 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
signature.asc
Description: Digital signature