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

1053 commits

Author SHA1 Message Date
Eugene Vereshchagin
91bf22992f Make small parseopts refactoring
* Use cmd_name instead of args_else[0] for clarity and consistency with
other code
* Move cmd_args assignment to place where it used
2014-04-27 19:24:22 +04:00
Donald Stufft
b56c0eec40 Merge pull request #1756 from evvers/completion-cmd-consistensy
Make 'completion' help output consistent with other commands
2014-04-26 12:18:57 -04:00
Paul Moore
7aaedd57ff Merge pull request #1745 from RobberPhex/develop
delete read-only file in Windows
2014-04-26 17:16:15 +01:00
Marcus Smith
ebe2465635 merge 1.5.X to empty_dirs_develop 2014-04-25 14:08:40 -07:00
Matthew Iversen
0fffb402e4 Merge branch 'duplicate_consumers' into develop
Conflicts:
	CHANGES.txt
2014-04-25 18:29:18 +10:00
Donald Stufft
1370c27a9b Upgrade colorama to 0.3.1 2014-04-24 13:37:32 -04:00
Donald Stufft
37ded088cc Merge pull request #1752 from dstufft/upgrade-setuptools
Upgrade bundled pkg_resources and _markerlib to 3.4.4
2014-04-24 12:27:39 -04:00
Donald Stufft
830440d338 Merge pull request #1691 from dstufft/upgrade-six
Fix #1643 - Upgrade six to 1.6.1
2014-04-24 11:27:43 -04:00
Donald Stufft
ba6a08bceb Upgrade bundled pkg_resources and _markerlib to 3.4.4 2014-04-24 08:20:25 -04:00
Eugene Vereshchagin
346c2f12d1 Make 'completion' consistent with other commands
Now help output of completion command consistent with
other commands (i.e. there is a 'Completion Options'
section at help output).
2014-04-24 16:10:40 +04:00
Donald Stufft
5d26bddd81 Upgrade pip._vendor.distlib to 0.1.8 2014-04-24 07:49:06 -04:00
Dan Savilonis
9a9d7acefe Add option --no-check-certificate to skip ssl cert verification 2014-04-24 01:46:33 -04:00
Marcus Smith
79408cbc6f use copy2, not move, to ensure dirs are not copied 2014-04-23 13:08:07 -07:00
RobberPhex
8a86fd3ced Fix a PEP8 error 2014-04-23 13:42:42 +08:00
Marcus Smith
b542c9906b move directory creation below the file filtering 2014-04-22 16:09:04 -07:00
RobberPhex
f355623a70 rmtree_errorhandler will delete read-only file 2014-04-23 02:28:37 +08:00
Marcus Smith
b274b85f96 don't install empty dirs during wheel installs 2014-04-21 23:07:25 -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
000a59d8ee Stop trying to lowercase commands, it wasn't working anyway 2014-04-18 20:51:19 +10:00
Matt Iversen
4b70070cc3 Merge pull request #1700 from esc/feature/syntax_fix
slightly more pythonic syntax for iterating over line numbers
2014-04-18 07:01:36 +10:00
Matthew Iversen
9cb0ea294a Add tests, improve code addition 2014-04-17 08:42:41 +10:00
Matthew Iversen
da867b1d20 Skip adding a duplicated consumer to pip's logger 2014-04-16 09:07:21 +10:00
Matthew Iversen
5d30c43fff Add back user_site for locations and util 2014-04-16 07:59:56 +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
Matthew Iversen
eb7e570b0b Remove product reimplementation - unused
No longer needed from 2.6 up (in itertools)
2014-04-16 06:12:57 +10:00
Matthew Iversen
aa129ffc51 underscore unused variables 2014-04-03 13:39:43 +11:00
Valentin Haenel
c91d78a064 slightly more pythonic syntax for iterating over line numbers 2014-04-02 18:46:34 +02:00
Donald Stufft
cb315058a9 Fix #1643 - Upgrade six to 1.6.1 2014-03-28 13:14:24 -04: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
190824b949 Document why we use decode_response=False 2014-03-27 11:34:51 -04:00
Donald Stufft
22c562429a Use Accept-Encoding: identity when requesting files 2014-03-27 11:34:51 -04:00
Donald Stufft
5a76a47d3b Fix code to handle the latest flake8 2014-03-26 18:24:19 -04:00
Marcus Smith
0690ff8c2c Merge pull request #1635 from Ivoz/wheelfiles
Allow pip to show files installed for wheels
2014-03-14 21:31:14 -07:00
schlamar
3affcaa2b8 install_lib should take precedence when reading distutils config. 2014-03-13 20:19:26 +01:00
Matthew Iversen
4ef2dca0d7 Allow pip to show files installed for wheels
- shortened looping logic in search_packages_info
- added logic to find installed files for .dist-info's
- Seemed to be off-by-one error for assert exceptions in test_show_with_files_not_found
- changed ..._with_files_not_found to use an editable install for being unlistable
- added test to assert a wheel's files are now listed :D
2014-03-12 16:31:41 +11:00
Marcus Smith
e7f4e4d816 Merge pull request #1601 from Ivoz/editablesubdir
Use subdirectory as cwd if specified
2014-03-10 21:54:05 -07:00
Matthew Iversen
d3acfe0858 Use subdirectory as cwd if specified 2014-03-09 05:09:02 +11:00
Matthew Iversen
d0e6c2fc54 Update docs to ref sorting order of list/freeze 2014-03-09 05:03:28 +11:00
Matthew Iversen
93521d7bc8 Freeze package listing in case insensitive order 2014-03-09 03:54:44 +11:00
dongweiming
1644c283b2 Delete list() transform 2014-03-08 02:19:14 -05:00
dongweiming
e430b58ceb Bugfix: when not find a version that satisfies the requirement.
show all versions but duplicate
2014-03-07 17:05:33 -05:00
Donald Stufft
4087145c09 Merge pull request #1413 from techtonik/patch-1
util.py: quote failed command for readability
2014-03-07 12:05:37 -05:00
Bruno Renié
244b399f1f Fix #1424 -- add support for SSL client certificate 2014-03-07 13:41:15 +01:00
Donald Stufft
c85150a500 Merge pull request #1444 from novel/retries
Introduce 'retry' option
2014-03-06 22:10:34 -05:00
Daniele Procida
68cacfb71d fixes #1615 2014-03-05 18:17:43 -05:00
Marcus Smith
ef80b671d4 Merge pull request #1606 from qwcode/stdlib_pkg_filter
stdlib pkg exclusions for pip list/freeze
2014-03-04 22:45:06 -08:00
Alex Gaynor
b8e9500567 Put a space around a comma for readability. 2014-03-03 22:44:28 -08:00
Marcus Smith
bff390eb1e pkg exclusions for pip list/freeze 2014-02-28 20:09:26 -08:00
Matthew Iversen
5a2577aaa8 Remove bootstrap function, simplify __main__ 2014-02-27 22:22:08 +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
c8d9368e71 Merge branch 'master' into develop
Conflicts:
	CHANGES.txt
	pip/__init__.py
2014-02-21 07:18:52 -05:00
Donald Stufft
313b8d9f7d Merge branch '1.5.X'
Conflicts:
	CHANGES.txt
2014-02-21 07:10:46 -05:00
Donald Stufft
627cb5591a Bump version 2014-02-21 07:09:34 -05:00
Marcus Smith
1a0e8fad4c log deprecation for --build when value is different than default 2014-02-20 22:37:35 -08:00
Marcus Smith
a3f6ec7b5f can't log deprecation for --build, since it's set always 2014-02-20 22:22:25 -08: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
Donald Stufft
3435cf36eb Merge branch '1.5.X'
Conflicts:
	CHANGES.txt
2014-02-20 19:36:56 -05:00
Donald Stufft
8c6a6a01df Bump version and mark release date in the changelog 2014-02-20 18:48:34 -05:00
Donald Stufft
cab9d69f3a Upgrade six to 1.5.2 2014-02-20 16:30:49 -05:00
Donald Stufft
aeeb33e215 Don't pass a unicode __file__ to setup.py on Python 2.x 2014-02-20 15:56:22 -05:00
Matthew Iversen
b26d91c880 Ensure wheel-Version is compatible with pip 2014-02-19 20:01:22 -05:00
Donald Stufft
34808054ce Merge pull request #1569 from Ivoz/test-wheel-version
Test Wheel-Version before installing it
2014-02-19 19:14:18 -05:00
Paul Moore
77be5e914e Added a comment explaining how __main__.py gets teh wheel name 2014-02-19 09:33:51 +00:00
Matthew Iversen
0bbfaf6f06 Expand docstring for check_compatibility 2014-02-19 18:44:44 +11:00
Matthew Iversen
5a6855dcf1 Fix test logic, tiny error / import cleanup 2014-02-19 10:31:12 +11:00
Matthew Iversen
e0818e1240 Remove commented line 2014-02-18 18:01:44 +11:00
Matthew Iversen
9f4f6738a5 Use find_on_path, extract compatibility check 2014-02-18 15:19:35 +11:00
Matthew Iversen
c55544d83e Merge branch 'develop' of https://github.com/pypa/pip into test-wheel-version 2014-02-18 12:10:38 +11:00
Paul Moore
87418e05bb Modify __main__.py to allow running from wheel 2014-02-17 18:40:39 +00:00
Donald Stufft
3c455a0a28 This is no longer in use 2014-02-16 20:33:21 -05:00
Matthew Iversen
5f40562e0f Small cleanup, use email.parser.Parser 2014-02-17 10:01:32 +11:00
Marcus Smith
c6356c855f deprecate --build and --no-clean 2014-02-16 12:30:49 -08:00
Matthew Iversen
13f6c68f0c Ensure wheel-Version is compatible with pip 2014-02-15 17:21:22 +11:00
Marcus Smith
9e39d9d8ca pip docs refactor 2014-02-11 22:13:03 -08:00
Marcus Smith
14f7003291 Merge pull request #1556 from pypa/docs_refactor
pip docs refactor
2014-02-11 21:58:01 -08:00
Marcus Smith
96bfe8b0f9 pip docs refactor 2014-02-11 21:55:43 -08:00
Matthew Iversen
2e15dcdb13 rabble rabble rabble 2014-02-11 07:36:55 +11:00
Matthew Iversen
9a54f11fb8 Make main as simple as possible! 2014-02-11 07:28:02 +11:00
Marcus Smith
f1ea95c14b cherry-pick fixes 2014-02-08 09:53:19 -08:00
Marcus Smith
85d68bbf97 fixes for downloading wheels (Issue #1112)
Conflicts:
	pip/req/req_set.py
2014-02-08 09:17:13 -08:00
Marcus Smith
a25b3d15c2 when file urls have hash fragments, check it 2014-02-08 09:06:54 -08:00
Marcus Smith
51a93e0672 'pip wheel' should download wheels, when it finds them
Conflicts:
	pip/commands/wheel.py
	pip/download.py
	pip/req/req_set.py
	pip/wheel.py
2014-02-08 09:05:40 -08:00
Paul Moore
b71288b5ca Special case os.devnull for PIP_CONFIG_FILE to mean 'no config file' 2014-02-07 21:04:59 +00:00
Matthew Iversen
777953777e Make main even simpler 2014-02-07 03:41:05 +11:00
Matthew Iversen
2e8f1917c8 Simplify __main__ logic
runner.py seemed to exist for the sole function of containing
a simple function that was called by __main__.py.

I've simply removed that file with its function moved into
__main__.py itself; no functionality should be expected to change.
2014-02-06 23:59:44 +11:00
Roman Bogorodskiy
f29dd1ad32 Introduce 'retry' option
Add a 'retry' option which allows to configure how many
retries pip should make before giving up on HTTP request.

When the retries count is specified by user, its value is
passed to HTTPAdapter from requests which handles all
the underlying operations.
2014-02-04 00:37:05 +04:00
Marcus Smith
4af1008104 fixes for downloading wheels (Issue #1112) 2014-02-02 15:09:32 -08:00
Marcus Smith
eb7a31e019 when file urls have hash fragments, check it 2014-02-01 14:04:58 -08:00
Marcus Smith
e41bf0230e 'pip wheel' should download wheels, when it finds them 2014-02-01 11:41:55 -08:00
Donald Stufft
b72f44b20c Run flake8 as part of the test suite 2014-01-27 14:40:32 -05: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
Donald Stufft
1773cbbfdf Bump version 2014-01-26 00:02:51 -05:00
Donald Stufft
884e922f48 Upgrade requests to 2.2.1
Thanks @kennethreitz, @Lukasa, @sigmavirus24, and @shazow for
a quick turnaround!
2014-01-23 13:39:44 -05:00
Donald Stufft
bd7dae9ed3 Properly parse comments from the end of a line 2014-01-22 21:50:57 -05:00
Donald Stufft
cc43b8fe29 Upgrade pkg_resources to setuptools 2.1 2014-01-21 14:02:34 -05:00
Donald Stufft
e9a896a9a0 Merge branch 'master' into develop
Conflicts:
	docs/installing.rst
	pip/__init__.py
2014-01-20 22:48:44 -05:00
Donald Stufft
f2e4644aa0 Version bump and Changelog gets a release date 2014-01-20 22:36:10 -05:00