Pregunta

Where is the current reference for packaging python modules with Python 2.x?

I found the above versions. Which one should I follow?

My modules are simple. Some Python files, some Python scripts and some templates (django).

Update 2021

I am very happy. Finding the maintained tutorial is clear today:

https://packaging.python.org/tutorials/packaging-projects/

¿Fue útil?

Solución

The setuptools documentation is (probably) the reference you want.

The Hitchhiker’s Guide to Packaging and the Python Packaging User Guide are both community written guides to Python packaging, but may be helpful.

You may also find Differences between distribute, distutils, setuptools and distutils2? useful, as there are multiple packaging tools for Python (the short answer is that for Python 2, you should probably use setuptools).

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top