Package: python-setuptools Version: 16.0-2 Severity: important If setup.py includes a version string which includes or appears to be numbers, setuptools corrupts the version string into a sequence of integers.
Example: version='2015.05' python setup.py sdist dist/package-2015.5.tar.gz That should respect the string set in version and create dist/package-2015.05.tar.gz The same problem happens if the string is non-numeric but uses dot separators: version='2015.05.04.01', package-2015.5.4.1 Forcing the version to include a hyphen uses the correct behaviour: version='2015.05-04.01', package-2015.05-04.01.tar.gz -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386, armhf, arm64 Kernel: Linux 4.0.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages python-setuptools depends on: ii python-pkg-resources 16.0-2 pn python:any <none> python-setuptools recommends no packages. python-setuptools suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

