This KGS was designed to work with many of the tools developed to manage and install Python pacakges. The following sub-sections will explain its use in more detail.
You can use the index directly. It then behaves exactly like http://pypi.python.org/simple, except that only the good versions of the controlled packages are available. The advantage of using the KGS as an index is that you get bug fixes automatically.
buildout.cfg
file:[buildout] index = http://download.zope.org/zope3.4/3.4.0/index ...
easy_install
command:
$ easy_install -i http://download.zope.org/zope3.4/3.4.0/index mypackage
When deploying an application, it is often important to nail or pin down the versions of all used packages, so that it can be guaranteed that the setup is identical all the time.
buildout.cfg
file like this by either copying
the contents of versions.cfg
or referencing it
with the extends
option:[buildout] versions = versions ... [versions] zope.interface = 3.4.0 <copy the contents of versions.cfg here>or
[buildout] extends = http://download.zope.org/zope3.4/3.4.0/versions.cfg
version.cfg
file.The way of providing the installation tools with additional locations to look for packages is via find links. Those URLs are expected to be an HTML page with links to files or files directly.
buildout.cfg
:[buildout] find-links = http://download.zope.org/zope3.4/3.4.0/links.html ...
easy_install
$ easy_install -f http://download.zope.org/zope3.4/3.4.0/links.html mypackage