[Tutor] Distributing Python Code for Commercial Porpoises?
Eike Welk
eike.welk at gmx.net
Sun Aug 8 20:41:20 CEST 2010
Hello Alan!
On Sunday August 8 2010 10:10:20 Alan Gauld wrote:
> Yes thats a good point. Most books (including mine) focus on how to
> write code. Very few tell you how to distrubute it! And that's not
> just
> in Python, most programming books are the same.
>
> Interesting.
>
> Alan G.
Yes, I want to endorse that!
Distributing your software is IMHO a worthy subject for any Python website or
book. Especially because there is this idea, that all important components for
software development are included in Python.
With Distutils, EasyInstall (*.egg), and Python Package Index there really
exist an integrated build system with installer, a package manager, and a
networked software repository.
Additionally with Virtualenv or Buildout one can build encapsulated
environments for testing or deployment, without fear for conflicting library
versions.
Someone however needs to find out how these components fit together, and then
write a nice introduction on the subject.
Eike.
Links to the mentioned projects for reference:
Distutils: http://docs.python.org/distutils/
EasyInstall: http://pypi.python.org/pypi/setuptools
http://pypi.python.org/pypi/distribute
Virtualenv: http://pypi.python.org/pypi/virtualenv
Buildout: http://www.buildout.org/
Python Package Index: http://pypi.python.org/pypi
More information about the Tutor
mailing list