[socal-piggies] Packaging Dippy

Dan Stromberg strombrg at gmail.com
Sat May 1 21:10:53 PDT 2010


On 05/01/2010 06:53 PM, C. Titus Brown wrote:
> On Sat, May 01, 2010 at 11:20:37AM -0700, jathan. wrote:
>    
>> Setuptools or distutils are easiest, because they put the power of how the
>> package is to be installed in the hands of the installer (egg, sdist, RPM,
>> easy_install, etc). Setuptools is newer and has a few more little perks, but
>> distutils will get the job done.
>>
>> Both also allow you to upload your package directly to PyPI as well, which
>> is very convenient.
>>
>> Your best bet is to just copy the setup.py from another dist and see how
>> they've done it.  Here's the setup.py from one of my small projects as a
>> simple example:
>>
>> http://bitbucket.org/jathanism/cidrize/src/tip/setup.py
>>      
> http://guide.python-distribute.org/
>    
This is a nice looking URL, but I was a bit disappointed to see that it 
doesn't appear to address packing into rpm's and deb's.

I've created rpm's and an msi the hard way before, and done pypi via 
setup.py - but is there a python-specific (or for that matter, a generic 
tool that knows the python specifics anyway) tool that will do pypi and 
rpm's and deb's and msi's from the same package description data?





More information about the socal-piggies mailing list