Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Owner: User #71475
Devlan simple pip index
I have a script running auto-generating a pip-1.5.4.tar.gz compatible index of every package in \\10.6.2.11\Python\packages directory. Simply dropping a file in that folder means it should show up within the next 5 minutes in the index.
The server used to pull from \\fs-01\share\Python\packages, but fs-01 caused endless headaches so it has been moved to a different file server. There is a link from the Python folder on the fs-01 share called 'pypi' that links to the new folder.
you can access it at http://10.6.2.20/pypi and use it as follows:
pip install --index-url=http://10.6.2.20/simple/ foopackage
On the low side, you can use the pip2pi package to automatically download python packages and their dependencies from pypi without installing the packages. (use the pip2tgz command from pip2pi)
As of pip version 1.1, you can pass the --download option to download the package and its dependencies without installing.
$ pip install --download=/path/to/download/dir <package name>
You can set this as the default by updating your pip configuration file (~/.pip/pip.conf on *nix, %HOME%\pip\pip.ini on windows) like this:
[global]
index-url = http://10.6.2.20/simple