Varun Hiremath wrote: > I am trying to build a debian package. I have some python scripts in > my package. Now when I run dpkg_buildpackage it doesn't show the > python-module dependencies. I mean to say that, Some of the scripts > are importing beautifulsoup but dh_python doesn't show > python-beautifulsoup as a dependency when I build. Even if I apt-get > remove python-beautiful soup from my computer dpkg_buildpackage builds > the package without giving an dependency errors. It means that it is > not compiling the python scripts (.py to .pyc) and checking for module > dependecy. How do i make dh_python compile all the python scripts.
dh_python doesn't do that (see its man page for a description of what it does). You have to add the package for third-party python modules that your package needs to its dependencies by hand. -- see shy jo
signature.asc
Description: Digital signature