The one thing that really pisses me off is that it's apparently impossible to package a project with all it's dependencies in Python. I'd love to use setup.py to create RPMs (it can do that out of the box), but I just can't figure out how to include the dependencies.
I would settle for an egg containing all dependencies. What do you mean by zip safe? I'm well aware that the binaries zipped need to be the ones for the target system. Is there something else I need to watch out for?
51
u/ursvp Apr 30 '18 edited Apr 30 '18
egg vs wheel
universal vs pure wheel
setuptools vs distutils
install_requires vs requirements.txt
data_files vs MANIFEST.in
package vs distribution vs binaries
pip vs conda
install -e vs install
install from PyPI vs .git vs .tar.gz
build vs environment
virtualenv vs venv vs pipenv
for each above: python2 vs python3
2to3 vs six
absolute vs relative vs circular import
oh, pip is incapable of true dependency resolution
complexity behind
__version__... in contradiction of Pythonic principle of clarity and simplicity.