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

2015-04-19 Thread suren shrestha
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, 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.ta

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

2015-04-19 Thread Ben Finney
sth@gmail.com writes: > My package 'webpreview'[https://github.com/ludbek/webpreview] has new > version '1.0.3'. I used 'sdist' to bundle it. I'll assume you are using a ‘./setup.py’ program to define and generate the distribution. The ‘setup’ function in that program takes a ‘version’ param

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

2015-04-19 Thread Chris Angelico
On Mon, Apr 20, 2015 at 1:57 PM, 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 p

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

2015-04-19 Thread sth . srn
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