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

42 commits

Author SHA1 Message Date
Marcus Smith 4eb9e3297f InstallRequirement.url should preserve the initial value for from_line requirements 2014-08-03 21:01:12 -07:00
Daniel Holth 7c652cb07e improved ability to install into non-ASCII directories 2014-07-10 23:50:43 -04:00
Donald Stufft 53faeece34 Clean up some no longer needed compatability code 2014-07-03 12:20:03 -04:00
Donald Stufft 6876d4b613 Merge pull request #1859 from nailor/support-no-use-wheel
req: Support --no-use-wheel flag in requirements.txt
2014-06-25 23:45:01 -04:00
MinRK c2e71e7ce6 query installed requirements for extras
fixes issue where egg_info('requires.txt') does not exist
for packages installed from wheels.
2014-06-25 22:45:28 -04:00
Donald Stufft 9b11ed231c Merge pull request #1854 from Ivoz/compat-cleaning
Remove unnecessary imports, move some to six
2014-06-16 12:06:21 -04:00
Donald Stufft 169379d839 Fix #1319 - Allow use of Zip64 extension 2014-06-13 07:15:03 -04:00
Jyrki Pulliainen 3377dd1917 req: Support --no-use-wheel flag in requirements.txt
Default from pip 1.6 will be to always use wheels, so the --use-wheels
in requirements.txt is now deprecated. However, the --no-use-wheels
is introduced to be able to disable wheel usage via requirements.txt.
2014-06-10 14:57:24 +02:00
Matthew Iversen b7770c502a Remove unnecessary imports, move some to six 2014-06-07 04:21:51 +10:00
Marcus Smith 3d64db281b merge 1.5.X into develop 2014-05-26 15:06:36 -07:00
Donald Stufft 97149959f4 Merge pull request #1813 from Manticore/patch-1
Fix typo in dict values enumeration
2014-05-15 17:50:39 -04:00
Matthew Iversen dcb0ee0702 Move backwardcompat package to compat module 2014-05-14 13:10:06 +10:00
Bogdan Opanchuk c1b6c6f0c9 Fix typo in dict values enumeration 2014-05-11 14:58:38 +10: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
Donald Stufft f79ca70c66 Remove the bundle functionality from pip 2014-05-08 16:09:23 -04:00
Donald Stufft 1ac72ecfa6 Merge pull request #1788 from blueyed/requirementset-normalize-paths
RequirementSet: normalize paths (esp. wheel_download_dir)
2014-05-07 22:42:39 -04:00
Donald Stufft 7037443975 Require an already created session to be passed into APIs 2014-05-06 22:37:46 -04:00
Daniel Hahler 14b55b0118 Use normalize_path for download_cache passed to RequirementSet
This appears to be in line with other places where paths are normalized.
2014-05-03 22:44:37 +02:00
Daniel Hahler b3dfbd50a4 Normalize wheel_download_dir passed to RequirementSet
This handles `wheel_dir = ~/.cache/pip/wheelhouse` correctly when
invoked via `pip wheel -r requirements.txt`.
2014-05-03 22:41:44 +02:00
Alex Gaynor 15e46c6be9 Wordwrap to appease the great flake8 in the sky 2014-05-02 20:24:39 -07:00
Alex Gaynor b48b9ce53f Resolve several typos in the codebase 2014-04-29 22:33:04 -07:00
Matt Iversen 6ecad6df1d Merge pull request #1722 from Ivoz/backcompat_cleanup
Backcompat cleanup
2014-04-21 12:19:41 +10:00
Matthew Iversen bcc1a4018c Move site.USER_SITE and sysconfig out of backwardcompat
2.6 always has these now :D
2014-04-16 06:13:08 +10:00
Valentin Haenel c91d78a064 slightly more pythonic syntax for iterating over line numbers 2014-04-02 18:46:34 +02:00
Matt Good 30978a9bf3 Merge remote-tracking branch 'matt/patch-1' into develop
Conflicts:
	pip/req.py
2014-03-27 22:47:50 -07:00
Donald Stufft 5a76a47d3b Fix code to handle the latest flake8 2014-03-26 18:24:19 -04:00
Matthew Iversen d3acfe0858 Use subdirectory as cwd if specified 2014-03-09 05:09:02 +11:00
Donald Stufft 95ac4c16f5 Remove dependency links support from pip 2014-02-25 18:39:40 -05:00
Donald Stufft 95035fc5c4 Turn on everything in flake8
flake8 ignores some errors by default, these ignored by defaults
change sometimes. This will make things stabler by selecting
everything.
2014-02-24 16:52:23 -05:00
Donald Stufft 751eec65f3 Merge branch 'master' into develop
Conflicts:
	CHANGES.txt
	docs/configuration.rst
	docs/cookbook.rst
	docs/reference/pip.rst
	docs/usage.rst
	pip/__init__.py
	pip/commands/install.py
	pip/commands/wheel.py
	pip/req.py
	pip/wheel.py
	tests/unit/test_wheel.py
2014-02-20 20:33:59 -05:00
Matthew Iversen 5a6855dcf1 Fix test logic, tiny error / import cleanup 2014-02-19 10:31:12 +11:00
Matthew Iversen 9f4f6738a5 Use find_on_path, extract compatibility check 2014-02-18 15:19:35 +11:00
Matthew Iversen 13f6c68f0c Ensure wheel-Version is compatible with pip 2014-02-15 17:21:22 +11:00
Marcus Smith 4af1008104 fixes for downloading wheels (Issue #1112) 2014-02-02 15:09:32 -08:00
Marcus Smith e41bf0230e 'pip wheel' should download wheels, when it finds them 2014-02-01 11:41:55 -08:00
Donald Stufft 2743768b7b Fix the style of the code base to better match pep8 2014-01-27 14:11:29 -05:00
Donald Stufft 30204be35b Remove uses of sys.exc_info()[1]
Using sys.exc_info()[1] is a hack that was used to use a shared
source approach to Python 3.x support that also included versions
of Python that didn't include the except ... as exc: construction.
Pip no longer supports any of these versions of Python so we can
remove it.
2014-01-27 08:02:10 -05:00
Donald Stufft 8a2882c2c6 Merge branch 'master' into develop
Conflicts:
	pip/__init__.py
	pip/req.py
2014-01-26 10:39:29 -05:00
Marcus Smith 7b55934ba1 use explicit relative imports for Python 3 2014-01-12 10:29:59 -08:00
Marcus Smith a7c522da97 fix references to req methods/classes after refactor 2014-01-12 10:05:11 -08:00
Marcus Smith 48e1a0f480 fix req pkg imports 2014-01-11 22:50:07 -08:00
Marcus Smith a135af5301 initial breakup of req.py 2014-01-11 16:50:11 -08:00