aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/package_index.py
diff options
context:
space:
mode:
authorpje <none@none>2013-03-01 12:23:20 -0500
committerpje <none@none>2013-03-01 12:23:20 -0500
commit70c61d89a8c7d548a42f843579ca540b39655ca9 (patch)
tree38f1fd95280bcf4bd2e79bdad26e8e36894e5580 /setuptools/package_index.py
parent7b80ff95a04569e39da9ae0fb33f0b90988e22dc (diff)
downloadexternal_python_setuptools-70c61d89a8c7d548a42f843579ca540b39655ca9.tar.gz
external_python_setuptools-70c61d89a8c7d548a42f843579ca540b39655ca9.tar.bz2
external_python_setuptools-70c61d89a8c7d548a42f843579ca540b39655ca9.zip
Default index URL to use SSL version of PyPI
--HG-- branch : setuptools-0.6 extra : source : b95868385a32c0103133105788c70850656662c6
Diffstat (limited to 'setuptools/package_index.py')
-rwxr-xr-xsetuptools/package_index.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/package_index.py b/setuptools/package_index.py
index 9a9c5d62..1668e765 100755
--- a/setuptools/package_index.py
+++ b/setuptools/package_index.py
@@ -149,7 +149,7 @@ user_agent = "Python-urllib/%s setuptools/%s" % (
class PackageIndex(Environment):
"""A distribution index that scans web pages for download URLs"""
- def __init__(self, index_url="http://pypi.python.org/simple", hosts=('*',),
+ def __init__(self, index_url="https://pypi.python.org/simple", hosts=('*',),
*args, **kw
):
Environment.__init__(self,*args,**kw)