I own a python package called webpreview
which extracts information from a webpage reading its meta data and contents. Its initial release was versioned 1.0.0
.
I used python setup.py sdist
to package it. From its initial release sdist would append dev
to the package name. So the package would be named webpreview-1.0.0dev.tar.gz
instead of webpreview-1.0.0.tar.gz
.
Today I tested it against python 3.3
and tried to deploy it. This time sdist names it webpreview-1.0.3dev-r0.tar.gz
making it impossible to release it to pypi.
How can I remove the dev, rc
stuff from the package name?