need help removing 'dev-r0' part from a python package

suren shrestha sth.srn at gmail.com
Mon Apr 20 00:41:23 EDT 2015


On Monday, April 20, 2015 at 10:00:26 AM UTC+5:45, Chris Angelico wrote:
> On Mon, Apr 20, 2015 at 1:57 PM,  <sth... 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


Thanx ChrisA, I will remove it and see what happens :)



More information about the Python-list mailing list