On Sat, Feb 9, 2013 at 6:43 PM, M.-A. Lemburg <[email protected]> wrote: > * distutils config files: > > http://docs.python.org/2/install/index.html#inst-config-files > > * setuptools: > > http://peak.telecommunity.com/DevCenter/EasyInstall#configuration-files > http://peak.telecommunity.com/DevCenter/EasyInstall#command-line-options > (the option is called --index-url) > > * distribute: > > http://pythonhosted.org/distribute/easy_install.html#configuration-files > http://pythonhosted.org/distribute/easy_install.html#reference-manual > (the option is called --index-url) >
Also, you can run this to easily change the setting site-wide (with either setuptools or distribute): sudo python setup.py saveopts -g easy_install --index-url https://pypi.python.org/simple It'll give you an error message about no URLs being provided, but first it'll update the global disutils.cfg for that version of Python or that virtualenv, e.g.: $ sudo python setup.py saveopts -g easy_install --index-url https://pypi.python.org/simple running saveopts Writing /usr/lib/python2.6/distutils/distutils.cfg running easy_install error: No urls, filenames, or requirements specified (see --help) (If you want to restrict easy_install to only download from pypi by default, you can also add an --allow-hosts setting to the easy_install part of the command line.) _______________________________________________ Catalog-SIG mailing list [email protected] http://mail.python.org/mailman/listinfo/catalog-sig
