3 ms·
I don't know off hand if this handles dependencies, but I've used this in the past to create deb files: python setup.py --command-packages=stdeb.command bd
by rcfox 11y ago
I don't know off hand if this handles dependencies, but I've used this in the past to create deb files:
python setup.py --command-packages=stdeb.command bdist_deb
I'm pretty sure this works without requiring some special module.
- majke 11y agoWhat about dependencies? Setuptools assume all is in place. That's why you need pip/virtualenv. So with that you expect your host to have all the stuff. Virtualenv installs some .so files in its thing, so venv directory is tightly coupled with the python binary it runs. Ie: you need to sort it out on the moment you build venv, and shipping venv directory is not correct.