[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dh_python module dependencies..



Hello,
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.
I tried using pbuilder and that also does not show module dependencies. Do I need to specify all the module dependencies explicitly in the "./debian/control" control file or is there a better way of identifying all the python module dependencies.

Thank You.

-- 
-----------------------------------------------
Varun Hiremath
461, Jamuna Hostel
IIT Madras,
Chennai - 600 036
mob : +919840299732
-----------------------------------------------
My Webpage : http://www.ae.iitm.ac.in/~ae03b032
-----------------------------------------------



Reply to: