1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
Commit graph

17 commits

Author SHA1 Message Date
Marc Abramowitz 954b818f24 Reduce duplication of 'pypi.python.org'
by creating a PyPI object

Before:

    $ ag --ignore=_vendor 'pypi.python.org' pip
    pip/cmdoptions.py
    195:    default='https://pypi.python.org/simple/',

    pip/commands/search.py
    33:            default='https://pypi.python.org/pypi',

    pip/index.py
    305:            if page is None and 'pypi.python.org' not in str(main_index_url):
    706:                        ).netloc.endswith("pypi.python.org")):

    pip/utils/outdated.py
    107:                "https://pypi.python.org/pypi/pip/json",

After:

    $ ag --ignore=_vendor 'pypi.python.org' pip
    pip/index.py
    77:PyPI = Index(url='https://pypi.python.org/', trusted=True)
2014-12-16 08:21:24 -08:00
Donald Stufft 6f64d3e6e2 Implement PEP 440 2014-12-13 13:50:21 -05:00
Donald Stufft 01610be0d5 Use a secure randomized build directory when possible 2014-11-11 20:19:10 -05:00
Xavier Fernandez b713e96df2 cleanup: use "with open()" to open files 2014-10-18 20:41:18 +02:00
Paul Moore b0d173e435 Added unit tests for get_installed_distributions user_only 2014-10-15 23:03:44 +01:00
Paul Moore 56496f6526 Add --user options to pip list and pip freeze 2014-10-14 16:00:52 +01:00
Donald Stufft f9e281b78a Merge pull request #2071 from mattrobenolt/syntaxerror
Better ignore syntaxerror stack traces in wheels
2014-10-01 07:10:47 -04:00
Matt Robenolt 334af19e7c Better ignore syntaxerror stack traces in wheels
This already got stripped just fine for non-wheel installs, but for
wheels, it only stripped the lined where `SyntaxError` was present
leaving the rest of the stacktrace.
2014-10-01 00:12:07 -07:00
Paul Moore 5ed05b4dcb Prevent zero division error in download speed calculation 2014-09-29 19:52:16 +01:00
Buck Golemon 32557a6474 just the @cached_property bit 2014-09-22 10:45:14 -07:00
Donald Stufft 12e194bbc6 Fix compatability with Python 2.6 2014-09-18 08:30:03 -04:00
Donald Stufft c3df28c774 Fix for Python 3.x, Refactor, and small changes 2014-09-18 07:44:02 -04:00
Richard Jones 500a987ee4 Implement a pip self-check with to determine when it's out of date.
Initial work cribbed from PR 1214.
2014-09-18 17:31:57 +10:00
Donald Stufft 0e96b1af4b Switch versioning from X.Y.Z to X.Y dropping the leading 1 2014-09-17 22:05:31 -04:00
Donald Stufft f63d1e3abb Implement platform specific user config locations 2014-09-10 11:43:34 -04:00
Donald Stufft 8e0ec8d293 Move appdirs from pip.appdirs to pip.utils.appdirs 2014-09-10 10:40:22 -04:00
Donald Stufft 767d11e49c Switch to using the stdlib logger instead of pip.log 2014-09-10 09:36:09 -04:00