[Distutils] Version string normalization

P.J. Eby pje at telecommunity.com
Mon May 18 22:22:43 CEST 2009


At 04:00 PM 5/18/2009 -0400, Jean-Paul Calderone wrote:
>Hello,
>
>I've just noticed that when using setuptools, the name of the file created
>by the sdist command changes.  The version passed to setup is "0.9.33+r17283"
>but the file written is "Nevow-0.9.33-r17283.tar.gz".
>
>This change causes various problems for me.  How can I avoid it?

You would need to subclass the sdist command, or use a 
post-processing step to rename it.



More information about the Distutils-SIG mailing list