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

73 commits

Author SHA1 Message Date
Donald Stufft
54de36d9ae Bump version and add release date to changelog 2014-01-02 08:15:05 -05:00
Donald Stufft
93820f5e37 Bump version 2013-12-31 06:43:11 -05:00
Donald Stufft
739fc3158f bump version 2013-12-27 01:49:50 -05:00
Donald Stufft
e6bcf359c0 bump version to 1.5rc2 2013-12-20 18:29:21 -05:00
Donald Stufft
ebd8f045cf bump to the rc version 2013-11-22 01:09:24 -05:00
Paul Moore
3da2197264 Fix recursive import issue in pip/__init__.py 2013-10-21 11:48:47 +01:00
Marcus Smith
44323cd355 have --version report the version of pip that's running, not installed 2013-09-17 22:00:22 -07:00
Marcus Smith
15910f573e define options once, but don't globally instantiate 2013-09-16 22:21:15 -07:00
Marcus Smith
d21d0e434e 1) have create_main_parser construct the parser description.
2) have `create_main_parser` mark the parser as the 'main' parser.
3) remove an extraneus block that's never called.  thanks @netspyer.
4) move 'create_main_parser` to __init__ to avoid circular or embedded imports.
2013-09-15 21:28:19 -07:00
Marcus Smith
5245e62bcf don't pass around options we're not using anymore 2013-09-15 21:28:19 -07:00
Georgi Valkov
c6495a46e3 remove basecommand.merge_options()
This patch removes the error prone step of merging the baseparsers'
options (the 'Generic Options') with those of the subparser. In fact,
commands are already capable of parsing all options present in the
'Generic Options' option group. The option parsing logic is as follows:

Given a command line such as:
  '--timeout 5 install --user pkg'
pip.parseopt() returns command 'install' with arguments:
  '--timeout 5 --user pkg'
pip.main() executes the above as:
  commands['install'](parser).main('--timeout 5 --user pkg', options)
2013-09-15 21:28:18 -07:00
Donald Stufft
fcdee3c652 Merge branch 'master' into develop
Conflicts:
	.travis.yml
	CHANGES.txt
	pip/__init__.py
	tests/functional/test_install_index.py
2013-08-07 21:21:32 -04:00
Donald Stufft
77f959a3ce Bump version to 1.4.1 2013-08-07 20:42:56 -04:00
Jannis Leidel
2eecb4df00 Bumped version up a notch. 2013-07-23 21:52:35 +02:00
Marcus Smith
70a45c3d07 1.4rc5 2013-07-15 21:11:21 -07:00
Marcus Smith
98ade7af6c pip-1.4rc4 2013-07-13 16:25:58 -07:00
Marcus Smith
a1fa1ae8a9 1.4rc3 2013-07-05 23:16:51 -07:00
Marcus Smith
040ad1572c 1.5.dev1 2013-07-02 23:15:04 -07:00
Marcus Smith
978662b08b 1.4rc2 2013-07-01 22:05:47 -07:00
Marcus Smith
b3459b92d3 merge from develop 2013-07-01 22:02:53 -07:00
Marcus Smith
dcfeb4eb94 1.4rc1 2013-06-29 22:29:55 -07:00
Marcus Smith
eeac39d10b develop branch is now 1.5.dev1 2013-06-29 21:20:33 -07:00
Gabriel
e46ad648e8 get-pip.py: accept cli flags 2013-04-15 19:57:06 +02:00
Marcus Smith
9756714d63 1.4.dev1 2013-02-20 19:29:54 -08:00
Jannis Leidel
8a4458bf56 Fixed a whole bunch of cosmetic problems, mostly to adhere to PEP8. 2013-02-16 19:02:41 +01:00
Marcus Smith
ab9ea197bd improved docs and cli help 2013-01-18 13:25:15 -08:00
Marcus Smith
89a69a016a sort subcommand completion 2012-12-24 21:58:44 -08:00
Georgi Valkov
ba87ff2625 exclude unsuppressed parser options from completion 2012-12-15 00:45:49 +02:00
Georgi Valkov
af64773a6e fix command completion 2012-12-14 15:35:00 +02:00
Georgi Valkov
4ec46922ff fix '-h,--help' option for commands 2012-12-11 12:39:57 +02:00
Georgi Valkov
dabedd5b0e remove temporary fix 2012-12-10 03:04:47 +02:00
Georgi Valkov
715c7eff71 fix error output
`pip help <misspelled>` should return the same error message as `pip
<misspelled>`, namely:

  ERROR: unknown command "enstall" - maybe you meant "install"
2012-12-06 17:25:40 +02:00
Georgi Valkov
7f4503b9e2 pep8 fixes 2012-12-06 17:25:19 +02:00
Georgi Valkov
2c64a1e160 replace global OptionParser and refactor main() 2012-11-10 15:37:15 +02:00
Georgi Valkov
7427eca00b remove global command instances
Rework the way commands are defined, loaded and ran in pip:

 - Commands are instantiated on demand in pip.main().

 - A command 'registry' - mapping of command names to command classes in
   pip.commands.__init__.

 - Remove deferred command module loading.
2012-11-10 15:30:16 +02:00
Carl Meyer
931408b965 Bump develop branch to a post-release version. 2012-09-07 09:48:57 -06:00
Jannis Leidel
ac2c3fed39 Bumped up the version a notch and updated changelog. 2012-09-06 10:30:13 +02:00
Jannis Leidel
1525a63b57 Added a get_prog util to correctly show the name of the program when using python -m pip.
Also show the full path in the missing command error message.
2012-09-01 20:36:31 +02:00
Jannis Leidel
d9599ec6df Added a pip.__version__ variable that is used in the setup.py and the docs' conf.py. 2012-09-01 20:36:21 +02:00
Carl Meyer
4b68fa2cf5 Remove backwards-compatibility shims for Python 2.4. 2012-06-06 08:21:16 -06:00
Marc Abramowitz
56dc8360f4 Workaround for GH-556 by completely removing pkgutil stuff and replacing
with a vanilla import at the top of the file.
2012-06-04 13:00:44 -07:00
Paul Nasrat
b8eae098af Merge pull request #464 from gvalkov/call_subprocess
Move pip.call_subprocess to pip.util.call_subprocess
2012-05-13 13:40:03 -07:00
Rory McCann
1fe5d2099d refactor. move the exception handlying back to the caller, rather than rely on it 2012-03-19 19:55:39 +00:00
Georgi Valkov
f77a6de500 Move pip.call_subprocess to pip.util.call_subprocess 2012-03-02 01:12:36 +02:00
Antti Kaihola
d3af622929 Show the subdirectory where a VCS operation failed (helps in debugging issue #58) 2012-02-01 14:52:32 +02:00
Carl Meyer
1134ca2552 Removed unused argument to commands. 2011-12-12 02:02:01 -07:00
Carl Meyer
7327177dbb Removed some unused imports. 2011-05-18 10:27:15 -05:00
Paul Nasrat
2860dc7d41 Fix whitespace, etc for pep8 compliance
Reran tests after changes on 2.4, 2.6, 3.2 all pass.

=====================================================
================== Running pep8 =====================

Searching for pep8
Reading http://pypi.python.org/simple/pep8/
Reading http://github.com/cburroughs/pep8.py/tree/master
Reading http://github.com/jcrocholl/pep8
Best match: pep8 0.6.1
Processing pep8-0.6.1-py2.6.egg
pep8 0.6.1 is already the active version in easy-install.pth
Installing pep8 script to /Users/pnasrat/Development/pip/pip_virtualenv/bin

Using /Users/pnasrat/Development/pip/pip_virtualenv/lib/python2.6/site-packages/pep8-0.6.1-py2.6.egg
Processing dependencies for pep8
Finished processing dependencies for pep8

==================== Ended pep8 =====================
=====================================================
2011-05-04 08:44:02 +01:00
Jannis Leidel
350b2ad1fd Merge branch 'master' of github.com:pypa/pip
Conflicts:
	docs/conf.py
	pip/__init__.py
	setup.py
2011-04-04 15:37:04 +02:00
Jannis Leidel
a778647b22 Added build-installer script to build install-pip.py script, a standalone version of pip that installs itself. Also updated build-standalone script to use the new packager contrib tool. 2011-04-04 13:52:27 +02:00