[Distutils] stdeb and python dependencies

Kelly Goedert kelly.goedert at gmail.com
Wed Oct 22 21:00:52 CEST 2014


Hi,

I am new to python. I created a simple python cli application that depends
on jsonpickle and plumbum.

Using this command python setup.py --command-packages=stdeb.command
bdist_deb I was able to create a .deb package. But when I try to install
the package with dpkg -i package_name I get

 package_name depends on python-plumbum; however:
  Package python-plumbum is not installed.
 package_name depends on python-jsonpickle; however:
 Package python-jsonpickle

In my setup.py I have this:

dependencies=['plumbum','jsonpickle']
install_requires=dependencies

Is it possible to make the debian package install this python dependencies?
Or is this the wrong approach? If so, what would be the recommend way?

Thanks

Kelly
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20141022/ddda645c/attachment.html>


More information about the Distutils-SIG mailing list