You are not logged in.

#1 2010-07-01 23:09:15

Anikom15
Banned
From: United States
Registered: 2009-04-30
Posts: 836
Website

python_packaging = 'Hell'

I'm so very confused by python's methods of packaging and distribution. There's distutils, setuptools, and then there's 3rd party tools. I'm confused. Is there a standard method for distribution? I've looked at distutils and it seems pretty good, but I'm concerned about it lacking uninstallation, which is necessary for anyone in my opinion.

Update: in addition to above I'd like to know how to use distutils to install my program in /usr/local rather than /usr, which will make it easier and safer to develop and test.

Update:  nvm above update, you use python setup.py install --prefix=/usr/local

Last edited by Anikom15 (2010-07-02 00:26:27)


Personally, I'd rather be back in Hobbiton.

Offline

#2 2010-07-02 00:10:57

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: python_packaging = 'Hell'

There is no standard packaging method for python.

Offline

#3 2010-07-02 20:11:53

simlan
Member
From: Germany
Registered: 2010-05-30
Posts: 20

Re: python_packaging = 'Hell'

Setup Tools is quite common because u can use it in conjunction with pypi (alias Cheeseshop http://pypi.python.org/pypi). On the other hand if u dont have to much dependencies wrap it all up in one zip or tar.gz and u are done.

Offline

Board footer

Powered by FluxBB