Commit Graph

24 Commits

Author SHA1 Message Date
Jon Dufresne 9c4bd6d5eb Update doc and comment URLs to https where available 2018-06-13 09:00:42 -07:00
Benoit Pierre 961737ab98 Fix integration tests on Windows (#4769) 2017-10-06 20:51:42 +01:00
Donald Stufft 95bcf8c5f6 Move all internal APIs to pip._internal 2017-08-31 14:53:00 -04:00
Pradyun S. Gedam 9923c1ad7e Sort imports and minor Flake8 changes (#4520)
* Run isort on the codebase

Command: isort --recursive --skip __main__.py --skip _vendor -o pip._vendor -sd THIRDPARTY -m 5 -p pip -p tests ./pip ./tests

* 📰
2017-06-13 14:17:00 +02:00
Pradyun S. Gedam 1832569530 Sort all imports 2017-05-16 15:47:47 +05:30
Anish Tambe 85b5b16417 macOS use ~/.config/pip/pip.conf as well (#4100) 2017-03-02 14:14:13 +01:00
Paul Moore e37a878312 PEP8 fix 2016-10-05 23:11:37 +01:00
Paul Moore d05e2a2b0f Test for issues #3970/#3463 2016-10-05 22:45:21 +01:00
Xavier Fernandez 9cf0342de3 set os.pathsep 2015-12-01 00:01:49 +01:00
Xavier Fernandez 57c6d55a47 Monkeypatch os.path 2015-11-30 23:30:39 +01:00
Xavier Fernandez 2184d03604 test_appdirs: fix tests on windows 2015-11-30 22:51:41 +01:00
Andy Freeland 6be4627f89 Failing test case for #2996 2015-09-29 16:01:31 -04:00
Xavier Fernandez 7b44092f06 Remove unused user_log_dir 2015-09-11 17:44:30 +02:00
Donald Stufft 0bc8aa5622 Style fixes for the latest flake8 2015-02-24 07:46:10 -05:00
Donald Stufft f63d1e3abb Implement platform specific user config locations 2014-09-10 11:43:34 -04:00
Donald Stufft 31b5cb523a Merge pull request #2020 from dstufft/minor-test-layout-change
Properly split up the test cases for appdirs
2014-09-10 11:20:36 -04:00
Donald Stufft 2dd235e4eb Properly split up the test cases for appdirs 2014-09-10 10:42:23 -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
Donald Stufft 80399a6c3f Fix to add a missed/new windows compat location 2014-08-30 14:53:56 -04:00
Donald Stufft 89fc318113 Merge pull request #1897 from paweljasinski/ironpython
detect windows when running under IronPython
2014-08-30 13:48:45 -04:00
Richard Jones aedca3c842 Implement site-wide configuration settings
* add site_config_dirs() to appdirs to determine locations across OSes
* add system_config_files to locations.py
* add system_config_files to get_config_files() and re-order files entries to correct precedence
* document changes to configuration files in user guide

Closes #309
2014-08-22 14:26:41 +10:00
Pawel Jasinski 58c347ad25 fixed windows test 2014-08-12 03:04:55 +02:00
Donald Stufft 52ca02608e Use CacheControl instead of custom cache code
* Deprecates the --download-cache option & removes the download
  cache code.
* Removes the in memory page cache on the index
* Uses CacheControl to cache all cacheable HTTP requests to the
  filesystem.
  * Properly handles CacheControl headers for unconditional
    caching.
  * Will use ETag and Last-Modified headers to attempt to do a
    conditional HTTP request to speed up cache misses and turn
    them into cache hits.
  * Removes some concurrency unsafe code in the download cache
    accesses.
  * Uses a Cache-Control request header to limit the maximum
    length of time a cache is valid for.
* Adds pip.appdirs to handle platform specific application
  directories such as cache, config, data, etc.
2014-05-09 18:28:20 -04:00