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

111 commits

Author SHA1 Message Date
Marcus Smith fd933a93dd improve method for getting home scheme purelib 2013-04-18 22:38:56 -07:00
Marcus Smith 6e2bfe8323 remove python 2.5 logic 2013-04-17 22:50:22 -07:00
Marcus Smith 00fa9bea96 merge with develop 2013-03-15 23:46:46 -07:00
Marcus Smith e4b5d3d75e update docs and help for new pre-release logic 2013-03-11 21:56:36 -07:00
Donald Stufft 4d5c5f8f97 Only install stable releases by default
* Adds the --pre flag to pip install to specify that you wish
  to install pre-releases
* If the version spec contains any pre-releases then continue to
  install pre-releases
2013-03-09 10:27:19 -05:00
Jannis Leidel 8a4458bf56 Fixed a whole bunch of cosmetic problems, mostly to adhere to PEP8. 2013-02-16 19:02:41 +01:00
Jannis Leidel 7db3d03e1a Moved the command description into the command class docstring to follow Python best practices. 2013-02-16 19:00:29 +01:00
Marcus Smith cabd1d5f80 merge with pypa/pip/develop 2013-02-02 22:40:30 -08:00
Marcus Smith 68d983d69a update docs with new build dir 2013-01-25 23:08:29 -08:00
Marcus Smith ab9ea197bd improved docs and cli help 2013-01-18 13:25:15 -08:00
Marcus Smith c2b9d9fa60 have list and install commands share the index options 2012-12-15 20:26:21 -08:00
Georgi Valkov b26cdee1e6 move command options before general options
Add a new base parser class 'CustomOptionParser' that provides the
'insert_option_group(idx, *, **)' method for inserting an option group
at a specific position.
2012-12-12 15:06:05 +02:00
Georgi Valkov b34feacbf9 add the Command.gen_opts option group
Note that commands still have to add the option group to the parser
once they populate it with options (self.parser.add_option_group).
2012-12-10 03:22:28 +02:00
Georgi Valkov 2c09666c31 split install options into 'Command Options' and 'Package Index Options' 2012-12-10 03:14:39 +02:00
Marcus Smith 53bbdf58cd merge with pypa/pip:develop 2012-11-28 20:28:57 -08:00
Marcus Smith 9c271baafe distutils scheme util for wheel installs; --user/--target support for wheels 2012-11-14 16:53:22 -08:00
Georgi Valkov 46a21751b8 add the base_parser argument to all Command instances 2012-11-10 15:34:53 +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
Marcus Smith 7ece6f4e77 add --no-deps option to "pip wheel" 2012-10-27 21:21:35 -07:00
Daniel Holth ed0c2391da allow pip wheel --use-wheel ... 2012-10-27 16:55:04 -04:00
Marcus Smith 4bfc92ddba 'pip wheel' 2012-10-16 15:57:10 -07:00
hetmankp 061954f29d Added --root command line option, works the same as for distutils 2012-10-08 14:49:30 +11:00
Daniel Holth aa5b33dbf4 experimental support for installing wheel archives 2012-10-01 22:50:24 -07: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
Marcus Smith 5a1c6093b6 pypy home scheme fix 2012-08-04 18:48:16 -07:00
Marcus Smith 0aadda7f16 usersite installs should ignore version conflicts with site 2012-06-10 18:16:48 -07:00
Marcus Smith 2e1959abfb don't allow --user installs in no-global virtualenvs 2012-06-05 20:01:35 -07:00
Kamal Bin Mustafa 93cd6b1620 add --egg option to opt out --single-version-externally-managed 2012-05-20 11:18:36 +08:00
Stavros Korokithakis d8babe79f2 --target-dir implies --ignore-installed. 2012-02-07 09:13:02 +02:00
Carl Meyer ec5d336254 Fix shutil.move and test. 2012-02-03 12:37:53 -07:00
Stavros Korokithakis eb03ec0dc1 Remove temporary directory, reduce option parameters. 2012-02-03 13:22:51 +02:00
Stavros Korokithakis 176d3a2663 Add target directory option. 2012-02-03 05:23:07 +02:00
Qiangning Hong fa773cdec6 clean up temporary source code 2012-02-01 14:25:06 +08:00
Carl Meyer 9f547d0e3d Merge pull request #340 from iguananaut/fix-install-defaults
Display correct defaults for pip install --help
2011-10-22 23:03:21 -07:00
Carl Meyer cdec82b5e6 Merge branch 'fix-issue-49' into develop 2011-10-22 23:50:19 -06:00
Craig Kerstiens b99427d94e Allowing empty requirements.txt to be specified as valid dependency list by stopping to raise an InstallationError if the requirements set is empty. Closes #345. 2011-09-13 16:25:20 +02:00
Erik Bray 1ecda0db16 Fix --upgrade to leave already up-to-date packages alone. Add --force-reinstall to force reinstallation even of up-to-date packages, as was the prior behavior. 2011-08-24 14:07:16 -04:00
Erik Bray 981b0f8a4c Display correct defaults (incorporating defaults from pip.conf) for src_dir and build_dir in pip install --help output 2011-08-22 13:38:46 -04: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 d921b1dc55 Also bail in the uninstall command, if no requirement is given. 2010-08-31 14:51:15 +02:00
Jannis Leidel 2f44bcd392 Fixed issue #151 -- When running the install command, bail early if no requirement is given. 2010-08-31 03:01:03 +02:00
Carl Meyer 2249c100b1 nicer error for --user on pre-2.6 Pythons 2010-08-19 12:59:10 -04:00
Carl Meyer 285ff9eed6 fix missing InstallationError import 2010-08-19 12:58:48 -04:00
Ronny Pfannschmidt 8606eaff95 implement and test early error-out on setuptools for install --user --editable 2010-08-19 17:40:21 +02:00
Ronny Pfannschmidt 1e76e5abcc merge "--user alias" to main 2010-08-19 16:24:34 +02:00
Ronny Pfannschmidt 2103c4ffcd add a --user alias for --install-opt=--user 2010-08-18 23:59:33 +02:00
Jannis Leidel e80c387a26 Added support for mirrors as defined in PEP 381. This feature is disabled by default and will query the DNS entry of the main mirror index URL to get a list of mirrors. Optinally can be passed a list of mirrors instead. 2010-08-16 01:46:23 +02:00
Carl Meyer eff68029e3 merge installcommand/finder subclass hooks 2010-06-04 11:20:35 -04:00
Hugo Lopes Tavares 26a1314d1d some adapts to pep8 2010-06-03 17:40:45 -03:00
Ronny Pfannschmidt d8b00e253b add support for global distutils options 2010-05-30 14:39:11 +02:00
Hugo Lopes Tavares d06c98dc6f merged changes related to PEP 8 from hltbra's fork 2010-06-02 23:25:26 -03:00
Dave Abrahams 6c68932526 Hooks for ryppl. The following are now encapsulated in overridable methods:
1. Construction of the install command's package finder
2. Derivation of available versions from links
2010-05-27 19:27:13 -04:00
Alexandre Conrad aaccedf26a centralized clean up code in one place 2010-04-17 18:36:31 +02:00
Alexandre Conrad 627c3e7242 Remove build directories after commands. Fixes #57 2010-04-16 19:26:39 +02:00
Simon Cross baa49969fd Add search for source folders if not downloading files (--no-download tests should now pass). 2010-04-15 15:27:00 +02:00
Simon Cross 4fba7f2f55 Add option to not download anything (and just use what was downloaded earlier.). 2010-04-15 14:03:36 +02:00
Simon Cross 83c099d8c9 Always make build_dir and src_dir absolute (fixes failing download with relative src folder test). 2010-04-15 13:16:11 +02:00
Ian Bicking 13a3083066 Fix for pip bundle and local files, from whit 2009-12-08 13:25:07 -06:00
Ian Bicking 8ed9acae60 Factor out the requirement handling into pip.req, and most of the remaining utility functions into pip.util 2009-11-20 18:26:59 -06:00
Ian Bicking b0df48ad31 Factor out the PackageIndex code; move more stuff to pip.util 2009-11-20 17:39:44 -06:00
Ian Bicking 3d32c196b5 Extract commands into their own modules; fix a few imports and dead functions that pyflakes found 2009-11-20 12:20:52 -06:00