Linux.com

Spreading Python applications

Posted by: Anonymous [ip: 65.9.204.181] on August 08, 2007 10:02 PM
Two quick comments:



1. package_dir is evil - it's strongly recommended that you not use it, except maybe to specify the location of the directory *containing* packages (e.g. package_dir = {'': 'src'} if your packages are in a src/ subdirectory).



2. Setuptools doesn't "create a conflict with your Linux distribution's package manager", at least by any definition of that phrase that I can think of. Note that setuptools can build bdist_rpm packages, just like the distutils. Also, setuptools can install packages for non-root users.

#

Return to Spreading Python applications