[Distutils] nailed-down versions by having custom index
Carl Meyer
carl at dirtcircle.com
Tue Feb 2 22:38:28 CET 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Reinout,
Reinout van Rees wrote:
> I'd like to do a bit of experimenting with a custom index with only the
> right packages in just the right versions. Some possible advantages I'm
> hoping to see for my usecase:
I use chishop for this with success: http://github.com/ask/chishop
It emulates PyPI's API, so you can get the packages in there easily
enough by adding your chishop url in .pypirc and (using Python 2.6)
"python setup.py sdist upload -r my_server".
> Question 2: I thought you could only have one index. So installing
> something extra from pypi seems out. How do people handle that?
I use pip (and pip requirements files) for installation, and pip has
both the -i/--index-url option (for replacing PyPI entirely) and the
- --extra-index-url option (for layering another index in addition to
PyPI). I don't know how one would do that with other tools.
Carl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iD8DBQFLaJtU1j/fhc23WEARAlDzAJ9oxm78s54v0BoeyFseSzNRBczACQCgtzrV
W7zFxpPR/7SayS0RmWzGsJU=
=oS95
-----END PGP SIGNATURE-----
More information about the Distutils-SIG
mailing list