[Zope-dev] Re: What happened to the infrae.subversion and py eggs?

Daniel Nouri daniel.nouri at gmail.com
Thu Apr 10 05:36:48 EDT 2008


Reinout van Rees <reinout at vanrees.org> writes:

> Tres Seaver schreef:
>> Daniel Nouri wrote:
>>> 1.0dev-r27844 seems to be gone from PyPI.
>>
>> Such a version should *never* have been "released" to PyPI (any egg /
>> source dist with an SVN revision number in its filename is *not*
>> suitable for sharing with the wider world).
>
> I've made it a habit *not* to enable the option in setup.cfg that adds
> those svn revision numbers to the version. It is enabled by default in
> all/most of the ZopeSkel-generated packages that I use.
>
> That single change forces me to maintain a proper version number in
> the setup.py ("0.9 dev 3" for development versions). That is the spot
> where you make a change anyway when doing a release. It is waaaay too
> easy to forget to remove the subversion revision option from setup.cfg
> (and having to enable it again after the release).

For making releases, I create a tag and remove the setup.cfg file from
that tag.  No need to remove it from trunk.  Also see [1] and [2].

And I agree with Wichert that for non-public packages, these development
snapshot releases can be useful.


[1] http://peak.telecommunity.com/DevCenter/setuptools#managing-continuous-releases-using-subversion
[2] http://peak.telecommunity.com/DevCenter/setuptools#making-official-non-snapshot-releases


Daniel



More information about the Zope-Dev mailing list