need help removing 'dev-r0' part from a python package
Chris Angelico
rosuav at gmail.com
Mon Apr 20 00:15:00 EDT 2015
On Mon, Apr 20, 2015 at 1:57 PM, <sth.srn at gmail.com> wrote:
> My package 'webpreview'[https://github.com/ludbek/webpreview] has new version '1.0.3'. I used 'sdist' to bundle it. Unfortunately it names it 'webpreview-1.0.3dev-r0.tar.gz' instead of 'webpreview-1.0.3.tar.gz' making it unsuitable to upload to pypi.
>
> What is causing sdist to append 'dev' stuff in the package. The source can be available in the link above. Thanx for you help.
I'm not an expert on PyPI uploads, but I'm guessing this might be it:
https://github.com/ludbek/webpreview/blob/master/setup.cfg
[egg_info]
tag_build = dev
tag_svn_revision = true
"r0" looks like a Subversion revision identifier, and you're tagging
it with "dev".
ChrisA
More information about the Python-list
mailing list