Message226166
| Author |
wilbertom |
| Recipients |
pitrou, scoder, wilbertom |
| Date |
2014年08月31日.10:19:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1409480372.95.0.550234220554.issue22311@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Also I see PIP is it's own project. Should I migrate the issue? It won't be as easy as I thought to fix.
>>> git diff
diff --git a/pip/_vendor/distlib/locators.py b/pip/_vendor/distlib/locators.py
index 07bc1fd..b7ef31a 100644
--- a/pip/_vendor/distlib/locators.py
+++ b/pip/_vendor/distlib/locators.py
@@ -949,7 +949,7 @@ class AggregatingLocator(Locator):
# versions which don't conform to PEP 426 / PEP 440.
default_locator = AggregatingLocator(
JSONLocator(),
- SimpleScrapingLocator('https://pypi.python.org/simple/',
+ SimpleScrapingLocator('https://pypi.python.org/',
timeout=3.0),
scheme='legacy')
diff --git a/pip/cmdoptions.py b/pip/cmdoptions.py
index 7c68738..738bbf5 100644
--- a/pip/cmdoptions.py
+++ b/pip/cmdoptions.py
@@ -189,7 +189,7 @@ index_url = OptionMaker(
'-i', '--index-url', '--pypi-url',
dest='index_url',
metavar='URL',
- default='https://pypi.python.org/simple/',
+ default='https://pypi.python.org/',
help='Base URL of Python Package Index (default %default).')
extra_index_url = OptionMaker(
Still gives errors. A different one. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年08月31日 10:19:32 | wilbertom | set | recipients:
+ wilbertom, pitrou, scoder |
| 2014年08月31日 10:19:32 | wilbertom | set | messageid: <1409480372.95.0.550234220554.issue22311@psf.upfronthosting.co.za> |
| 2014年08月31日 10:19:32 | wilbertom | link | issue22311 messages |
| 2014年08月31日 10:19:32 | wilbertom | create |
|