[issue1613] python setup.py --version = unknown

Cyberdrow mercurial-bugs at selenic.com
Sat Apr 18 11:59:21 CDT 2009


New submission from Cyberdrow <cyberdrow at gmail.com>:

According to
http://www.selenic.com/mercurial/wiki/index.cgi/WhatsNew#head-35ce5cac17a0ce1eac80cdc807769b38b7d593a2
the bug leading to "unknown" as Mercurial's version number is fixed.
But there seems to be still a problem left:

When installing Mercurial (1.2.1) from source
(http://www.selenic.com/mercurial/release/mercurial-1.2.1.tar.gz) the command
"python setup.py --version" returns "unknown".
This causes an issue if Mercurial is being installed by easy_install (from
setuptools). easy_install creates "mercurial-unknown-py2.6-macosx-10.3-i386.egg"
in the Python's site-packages directory. (I use MacOS X.)
The output of "hg version" after installation with easy_install is correct ("...
version 1.2.1 ..."). But other tools might be confused by this "unknown". In my
case it's "yolk" (http://tools.assembla.com/yolk/).
I use "yolk -U" to check for newer versions of all my installed Python stuff. It
always complains that the installed version ("unknown") differs from the newest
available on PyPI (1.2.1).

----------
messages: 9112
nosy: cyberdrow
priority: bug
status: unread
title: python setup.py --version  = unknown

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue1613>
____________________________________________________



More information about the Mercurial-devel mailing list