[Distutils] Unable to install packages after specifying package version

Carl Meyer carl at meyerloewen.net
Fri Dec 3 13:35:54 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

On 12/03/2010 05:55 AM, devyan parmar wrote:
> i am trying to install package from my packageserver using PIP. 
> 
> for example:
> m trying
> /bin/pip install --extra-index-url=http://mypkgserver/dev
> package_name==2.4.12b
> 
> "2.4.12b" is the version of my package but in package server it is going
> as "2.4.12b_1" extra part in version is nothing but a build number which
> getting generated from hudson JOB.
> is setuptool avoids extra build number which goes with my pcakage
> version ?? coz if i try to install package it's gives me message "No
> distributions at all found ".

No, neither setuptools nor pip will arbitrarily ignore parts of your
version number. You need to make sure the package appears in your index
with the same version numbering scheme you plan to use for installing it.

Carl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkz45CoACgkQFRcxmeyPUXJx6QCcDUt6PIf6khe+rA35sihP7vQ5
aI8An3mhLopQQfBUhsGxsPLYTMqp2hpD
=bEKu
-----END PGP SIGNATURE-----


More information about the Distutils-SIG mailing list