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

77 commits

Author SHA1 Message Date
Donald Stufft 6f64d3e6e2 Implement PEP 440 2014-12-13 13:50:21 -05:00
Donald Stufft 33eba11761 Merge pull request #2178 from msabramo/pip_install_make_some_warnings_debug
install: Make some warnings DEBUG rather than INFO
2014-12-12 16:48:38 -05:00
Donald Stufft 201d63b307 Merge pull request #2177 from msabramo/egg_info_log_debug_instead_of_info
"Running setup.py...egg_info" log: INFO => DEBUG
2014-12-12 15:49:34 -05:00
Marc Abramowitz a3842b2a82 install: Make some warnings DEBUG rather than INFO
* `warning: no previously-included files matching`
* `warning: no files found matching`

See: GH-1070
2014-12-12 11:52:56 -08:00
Marc Abramowitz 7eb00c97ea "Running setup.py...egg_info" log: INFO => DEBUG
Change log level of `"Running setup.py (path:%s) egg_info"` log messages
from INFO to DEBUG. The average user does not know or care that pip is
running `python setup.py egg_info`, unless things are broken, IMHO.

See: GH-1070
2014-12-12 11:37:08 -08:00
Marc Abramowitz 86c714deb1 install: "Cleaning up..." msg: info => debug
This message isn't particularly useful to an end user and clutters the
output IMHO.
2014-12-12 09:02:23 -08:00
Donald Stufft 5b817f960b --isolated should isolate from ~/.pydistutils.cfg as well 2014-12-11 11:51:06 -05:00
Donald Stufft 9d51060e0e Merge pull request #1934 from piwai/develop
Pip doesn't detect dependancies that failed to install
2014-12-11 08:21:41 -05:00
Donald Stufft 785ba69f8d Fix the logging level 2014-11-20 10:53:03 -05:00
Victor Stinner e498d83db1 Support markers in requirements
It's now possible to specify requirements markers in requirements.
Examples::

    futures; python_version < '2.7'
    mock; python_version < '3.3'
    nose
    ordereddict; python_version < '2.7'
    unittest2; python_version < '2.7'

The separator is "; ". For convinience, ";" alone is also supported, but
no in URLs. The ";" character is a legit and common character in an URL.
Example of valid URL without markers::

    http://foo.com/?p=bar.git;a=snapshot;h=v0.1;sf=tgz

Example of URL with markers::

    http://foo.com/?p=bar.git;a=snapshot;h=v0.1;sf=tgz; python_version < '3.3'
2014-11-20 10:52:08 -05:00
Victor Stinner e236842944 Fix issue #1433: parse requirements in markers
* InstallRequirement supports PEP 426 markers
* RequirementSet.add_requirement() ignores an InstallRequirement if
  markers don't match.
2014-11-20 10:52:08 -05:00
Xavier Fernandez b713e96df2 cleanup: use "with open()" to open files 2014-10-18 20:41:18 +02:00
Toshio Kuratomi 9f9a07a447 Better detection of egg-info dirs 2014-10-06 03:21:52 -04:00
Pierre-Yves Rofes 6dc7f5ac35 Reverse package list to install required dependancies first 2014-10-01 23:16:50 +02:00
Toshio Kuratomi 416ca84bdf Record files don't always include directories so find eggdir by looking for a file within it.
Fixes #2075
2014-09-29 13:51:01 -04:00
Donald Stufft 17448b92d0 InstallRequirement.absolute_versions is no longer required. 2014-09-25 22:15:43 -04:00
Donald Stufft cc2a44e995 Normalize names in a URL
PyPI and Bandersnatch now normalize the project name in their
URLs. This change matches that and will reduce the number of
redirects we hit on PyPI and will reduce the need to hit /simple/
on a Bandersnatch mirror.
2014-09-18 07:11:31 -04: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 ec91d8e421 Move from pip.compat.* to six.moves.* for urllib related stuff 2014-09-11 18:40:45 -04:00
Donald Stufft 36a0187476 Catch the correct error and remove unused urllib errors from pip.compat 2014-09-11 15:28:21 -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 4b6b7c77b6 Merge pull request #2005 from dstufft/pr-1959
Continue PR #1959
2014-08-30 19:13:31 -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
Xavier Fernandez a4a8d73bcc Move unpack_url to pip.download
This puts all unpack functions in the same place.
Cherrypicked from a commit of qwcode
2014-08-27 22:08:26 +02:00
Berker Peksag a1ad3a6113 py2 fixes 2014-08-22 13:54:24 +03:00
Berker Peksag 0cb2991cf0 Strip tracebacks. 2014-08-22 13:47:36 +03:00
Berker Peksag a79b854753 Revert show_stderr=False to investigate test failures. 2014-08-21 22:59:23 +03:00
Berker Peksag 97dbdd1a13 Add show_stderr parameter to call_subprocess. 2014-08-21 22:48:50 +03:00
Berker Peksag 42e4d11900 Cover more cases. 2014-08-21 18:28:12 +03:00
Pawel Jasinski 6e1abb91aa detect windows when running under IronPython 2014-08-12 02:26:24 +02:00
Brad Erickson c53cfa1e28 Optional finder variable must be validated before use 2014-08-05 19:17:29 -07:00
Donald Stufft aaa4bfcdbc Merge pull request #1956 from qwcode/issue_1952
preserve the full vcs url when using `InstallRequirement.from_line`
2014-08-04 10:13:18 -04:00
Donald Stufft cbbbc9f6c7 Merge pull request #1926 from jschneier/develop
install -d works on vcs links fix #798 fix #1060
2014-08-04 09:58:16 -04:00
Marcus Smith 4eb9e3297f InstallRequirement.url should preserve the initial value for from_line requirements 2014-08-03 21:01:12 -07:00
Donald Stufft 90688e82b1 Revert "Merge pull request #1519 from dstufft/remove-dependency-links"
This reverts commit da02f073da, reversing
changes made to 2ad8888901.

Conflicts:
	CHANGES.txt
	pip/commands/freeze.py
	pip/commands/list.py
	pip/commands/wheel.py
	pip/index.py
	pip/req/req_set.py
	pip/vcs/subversion.py
2014-08-01 16:50:08 -04:00
Josh Schneier 283df0e5a2 install -d works on vcs links fix #798 fix #1060 2014-07-17 01:53:14 -04: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