Re: Distutils, bdist_XXX, rpmbuild issues

2009-01-07 Thread Gerry Reno
Ben Finney wrote: Gerry Reno writes: We have an application, foo-5.0.0, and we want to put out some pre-release candidates for testing, so we set the version to "5.0.0_rc1" in setup.py. That's where your problems start (as you no doubt surmised). If you want version numbers to compar

Re: Distutils, bdist_XXX, rpmbuild issues

2009-01-07 Thread Ben Finney
Gerry Reno writes: > We have an application, foo-5.0.0, and we want to put out some > pre-release candidates for testing, so we set the version to > "5.0.0_rc1" in setup.py. That's where your problems start (as you no doubt surmised). If you want version numbers to compare in a certain order, yo

Distutils, bdist_XXX, rpmbuild issues

2009-01-07 Thread Gerry Reno
I've been trying to use the "built distribution" distutils commands such as bdist_rpm to create distro-specific packages for python applications but I'm running into some thorny issues specifically with pre-release versioning of source distributions and built distributions and how to get a "fin