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
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