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

Ben Finney ben+python at
Mon Apr 20 06:17:18 CEST 2015

sth.srn at writes:

> My package 'webpreview'[] has new
> version '1.0.3'. I used 'sdist' to bundle it.

I'll assume you are using a ‘./’ program to define and generate
the distribution.

The ‘setup’ function in that program takes a ‘version’ parameter. What
value is your program passing to that parameter? What generates that

 \         Fry: “Take that, poor people!”  Leela: “But Fry, you’re not |
  `\     rich.”  Fry: “No, but I will be someday, and then people like |
_o__)                                  me better watch out!” —Futurama |
Ben Finney

More information about the Python-list mailing list