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

769 commits

Author SHA1 Message Date
Marcus Smith 1857ece79b fix import syntax 2013-02-16 15:40:43 -08:00
Marcus Smith b2a17e56cd remove old cert from pem file 2013-02-16 15:40:22 -08:00
Marcus Smith 22bf924b52 merge with develop 2013-02-16 14:17:22 -08:00
Marcus Smith f00b015d73 cli help formatting fixes 2013-02-16 12:51:57 -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
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 809a9962c1 clear up connection compatibility logic 2013-02-15 20:03:13 -08:00
Marcus Smith d0c3138fbf merge with develop 2013-02-15 17:11:17 -08:00
Jonas Nockert 5ae29b6f61 Corrected a few typos 2013-02-14 20:28:27 +01:00
socketubs 68353cbc5a list command now show ascending ordered list 2013-02-12 18:16:11 +01:00
Georgi Valkov 42919f9913 manual sorting of commands and summaries
commands.get_summaries() will now yield instead of returning a list.
2013-02-12 23:23:40 +02:00
Marcus Smith 84f8134900 remove HTTPHandler explictly 2013-02-10 23:14:05 -08:00
Marcus Smith 1cf1a7e595 refactor pip.backwardcompat from module to package 2013-02-10 22:02:11 -08:00
Marcus Smith 83d8b3756b only show --allow-no-ssl when no ssl 2013-02-10 01:30:24 -08:00
Marcus Smith 76b5ebcd48 use the more common phrase 'CA bundle' 2013-02-10 01:15:40 -08:00
Marcus Smith f92052fd66 py25 socket patch to work with ssl backport 2013-02-09 01:31:27 -08:00
Marcus Smith 857f64e065 latest mozilla ca certs aquired securely and generated to pem form 2013-02-08 23:38:32 -08:00
Marcus Smith bb7ba1aea4 shorter metavar for --cert-path 2013-02-08 22:47:39 -08:00
Marcus Smith 609cfe94a1 remove duplicate backwardcompat imports and excess logic 2013-02-07 22:40:30 -08:00
Marcus Smith fe17bb4d75 OpenerDirector for ssl should not contain the default http handler 2013-02-07 22:18:40 -08:00
Marcus Smith 456ea8087a fix param name in exception message 2013-02-07 22:17:52 -08:00
Marcus Smith 84964064a3 --cert-path and --no-ssl options 2013-02-06 23:27:53 -08:00
Marcus Smith a4a9197e7e py25 import fixes 2013-02-06 02:08:23 -08:00
Marcus Smith b2e0b6dfb0 log relevant message if URLError.reason is SSLError or CertificateError 2013-02-06 01:48:28 -08:00
Marcus Smith 7e20fd83a2 move cert_path to locations module 2013-02-06 00:55:17 -08:00
Marcus Smith 4bb5ac62b9 use standard opener when no ssl 2013-02-06 00:51:58 -08:00
Marcus Smith 73c46148cb backwardcompat logic for ssl and match_hostname 2013-02-06 00:48:09 -08:00
Marcus Smith c612db0ae4 match_hostname from py32 2013-02-06 00:47:41 -08:00
Marcus Smith 11ebe011dc warn before installing if no ssl module 2013-02-06 00:47:01 -08:00
James Cleveland d54c695230 Adding code to match_hostname. 2013-02-04 22:08:56 +00:00
James Cleveland 246e974b22 Added certificate validation against root CA file.
Credits to Joseph Turner for this code:

http://thejosephturner.com/blog/2011/03/19/https-certificate-verification-in-python-with-urllib2/

And also to Kenneth Reitz for the CA dump (with addition of
CAcert.org chain because that's what PyPI uses).

Which, combined with pip, enables us to go a step towards
validated SSL and reducing the impact of MITM attacks.
2013-02-04 20:34:14 +00:00
James Cleveland b9ea089323 Changing the default index URL to use HTTPS. 2013-02-04 19:35:35 +00:00
Marcus Smith 354a75033c wheel doc update 2013-02-02 23:18:40 -08:00
Marcus Smith 8659f3d6ab wheel cli fixes 2013-02-02 22:56:32 -08:00
Marcus Smith cabd1d5f80 merge with pypa/pip/develop 2013-02-02 22:40:30 -08:00
Marcus Smith 103db0d62d docs and cli error text updates 2013-01-30 20:59:44 -08:00
Marcus Smith 68d983d69a update docs with new build dir 2013-01-25 23:08:29 -08:00
David dc3a359671 In the os.open call to get the fd to check if the user specific build directory
is in fact owned by another user - add the os.O_NOFOLLOW flag to not follow symbolic links.

Signed-off-by: David <db@d1b.org>
2013-01-25 23:12:24 +11:00
David 61c444e491 Update the code _get_build_prefix to raise an exception instead of sys.exit()'ing and also document that on windows user temp directories are already isolated.
Signed-off-by: David <db@d1b.org>
2013-01-25 23:12:24 +11:00
David e7bf29e239 Clean up the _get_build_prefix code - close the open fd and print the error message if the fd could not be opened (denied).
Signed-off-by: David <db@d1b.org>
2013-01-25 23:12:23 +11:00
David eeaa64d25d Fix #725 and #729.
Signed-off-by: David <db@d1b.org>
2013-01-25 23:12:23 +11:00
Marcus Smith 0e7c239cfb another case for our shutil.rmtree onerror function 2013-01-22 00:42:18 -08:00
Marcus Smith ab9ea197bd improved docs and cli help 2013-01-18 13:25:15 -08:00
Marcus Smith e76ae0821c using realpath since tmp dirs on OSX can be symlinks 2013-01-15 23:18:23 -08:00
Marcus Smith 1ea772f51d revert xdg compliance 2012-12-27 09:51:14 -08:00
Marcus Smith 89a69a016a sort subcommand completion 2012-12-24 21:58:44 -08:00
Marcus Smith c49f7e0fb2 from '--editables' to --editable' and some minor formatting 2012-12-19 22:08:56 -08:00
Marcus Smith 8a2d220fff get_installed_distributions docstring update 2012-12-17 22:02:01 -08:00
Marcus Smith aeecefcd22 use editable logic in FrozenRequirement 2012-12-17 21:55:59 -08:00
Marcus Smith b6d775780b shared options and groups 2012-12-17 21:35:09 -08:00
Marcus Smith 483389bd1d pip list option help updates 2012-12-15 23:31:39 -08:00
Marcus Smith eb211b2d3a --editables option for 'pip list' 2012-12-15 23:23:20 -08:00
Marcus Smith 3d87366dac editables_only option for util.get_installed_distributions 2012-12-15 23:22:53 -08:00
Marcus Smith 1d94d9b8ed exclude editables for outdated/uptodate checks 2012-12-15 22:52:17 -08:00
Marcus Smith e752906ff0 include_editables option for util.get_installed_distributions 2012-12-15 22:50:13 -08:00
Marcus Smith 7e9fb6f4ab compare using parsed versions; use get_installed_distributions wrapper; use the dist objects you already have 2012-12-15 20:56:29 -08:00
Marcus Smith c2b9d9fa60 have list and install commands share the index options 2012-12-15 20:26:21 -08:00
Marcus Smith 49bc592bf2 add list command to registry 2012-12-15 20:23:55 -08:00
Rafael Caricio c862877ccf Change tests to use mock instead of pytz. 2012-12-15 19:42:29 -08:00
Rafael Caricio be1083a06c Some fixes after @carljim review. 2012-12-15 19:42:29 -08:00
Rafael Caricio 29972a1b3a Add the --uptodate flag in the list command. 2012-12-15 19:42:28 -08:00
Rafael Caricio 5a02b6674e Basic behaviour of the list command. 2012-12-15 19:42:28 -08:00
Rafael Caricio 0267e8a684 Modifies the outdated command to list command. 2012-12-15 19:42:28 -08:00
Rafael Caricio ff24b578ba Make the test pass. 2012-12-15 19:42:28 -08:00
Rafael Caricio 8682dfe644 Remove blank spaces. 2012-12-15 19:42:28 -08:00
Miguel Araujo Perez 873d3bc34c Checking requirements before adding them to installations 2012-12-15 19:42:28 -08:00
Miguel Araujo Perez 8111bbb550 Updating pip outdated to use PackageFinder instead. Adding extra options like '--index-url' or '--find-links'. Changing version comparison to use > not !=
All work done here is based on @carljm suggestions made in pull request #235, so that pip outdated gets merged into master asap.
2012-12-15 19:42:28 -08:00
Dmitry Gladkov 91106054ca add outdated pip command 2012-12-15 19:42:28 -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 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 4ec46922ff fix '-h,--help' option for commands 2012-12-11 12:39:57 +02:00
Georgi Valkov 64f4caed7d s/makeopt/optparse.make_option 2012-12-11 12:17:14 +02:00
Georgi Valkov 7193bf919a set option group title to '$CommandName Options' 2012-12-10 14:34:29 +02:00
Georgi Valkov 416ab39519 'Command Options' for the show command 2012-12-10 03:30:17 +02:00
Georgi Valkov 8b1836b401 'Command Options' for the uninstall command 2012-12-10 03:30:17 +02:00
Georgi Valkov 8f00079a4b 'Command Options' for the zip command 2012-12-10 03:30:17 +02:00
Georgi Valkov 6d8b55a39b 'Command Options' for the search command 2012-12-10 03:30:12 +02:00
Georgi Valkov 192f1552bc 'Command Options' for the freeze command 2012-12-10 03:24:48 +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
Georgi Valkov 8def93c181 add missing import and remove default help option 2012-12-10 03:06:05 +02:00
Georgi Valkov dabedd5b0e remove temporary fix 2012-12-10 03:04:47 +02:00
Georgi Valkov 33c101933f set indent_increment to 1 2012-12-10 03:03:02 +02:00
Georgi Valkov 5f69e258a7 add baseparser options to the 'General Options' group 2012-12-10 03:00:15 +02:00
Georgi Valkov 841ae62768 ensure that there is a newline between usage and options 2012-12-10 02:50:04 +02:00
Marcus Smith 3a8f69b4d0 Merge pull request #721 from gvalkov/rework-commands-v2
Rework command handling v2
2012-12-07 14:45:11 -08:00
Georgi Valkov 2559c784bb align command list with options 2012-12-07 12:25:03 +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 e103e549d7 fix bare except statement 2012-12-06 17:25:28 +02:00
Georgi Valkov 7f4503b9e2 pep8 fixes 2012-12-06 17:25:19 +02:00
Marcus Smith 53bbdf58cd merge with pypa/pip:develop 2012-11-28 20:28:57 -08:00
Marcus Smith 4c8ac16ec0 patch dist_in_site_packages for user_site tests 2012-11-19 09:38:20 -08:00
Marcus Smith 6bbf963fc6 no need to override purelib/platlib in virtualenvs 2012-11-15 20:23:21 -08:00
Marcus Smith fa1b104266 no user scheme until python 2.6 2012-11-14 17:33:16 -08:00
Marcus Smith 9c271baafe distutils scheme util for wheel installs; --user/--target support for wheels 2012-11-14 16:53:22 -08:00
Marcus Smith d882827e3f comments on 'unnamed' requirements 2012-11-14 12:44:05 -08:00
Marcus Smith dc5e825d4e upper case url reqs should be recognized as same as other lower case forms 2012-11-13 21:29:58 -08:00
Georgi Valkov 774605139b make monkey-patching work again in tests/test_user_site.py
Monkey-patching 'pip.util.dist_in_site_packages' through
'sitecustomize.py' in 'tests/test_user_site.py' wasn't working unless
the fully qualitifed path to 'dist_in_site_packages' was
used.
2012-11-10 19:50:59 +02:00
Georgi Valkov 2c64a1e160 replace global OptionParser and refactor main() 2012-11-10 15:37:15 +02:00
Georgi Valkov 46a21751b8 add the base_parser argument to all Command instances 2012-11-10 15:34:53 +02:00
Georgi Valkov 8dbdf50863 add create_main_parser() and the '-V --version' option 2012-11-10 15:34:20 +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 dff849ce27 existing install has priority over wheels 2012-11-03 22:10:58 -07:00
Marcus Smith 7ad52b423d link sort key as instance method; guard when link is InfLink 2012-11-03 21:35:56 -07:00
Paul Nasrat fad65326c8 Merge pull request #693 from hetmankp/develop
Added --root command line option to give functionality equivalent to distutils --root
2012-10-29 09:58:18 -07:00
Paul Moore 4b01b90df2 Give wheels priority over sdists when installing 2012-10-28 22:02:48 +00:00
Marcus Smith 1873e80f63 import check at 'pip wheel' command level is enough 2012-10-28 10:50:17 -07:00
Marcus Smith edbd5c291e don't ignore building pip/setuptools/distribute 2012-10-28 10:32:44 -07:00
Marcus Smith 7ece6f4e77 add --no-deps option to "pip wheel" 2012-10-27 21:21:35 -07:00
Daniel Holth 9087a6fe07 skip trying to build wheels for requirements found as wheels 2012-10-27 17:44:50 -04:00
Daniel Holth ed0c2391da allow pip wheel --use-wheel ... 2012-10-27 16:55:04 -04:00
Daniel Holth 137909107f remove 'import *' 2012-10-27 16:29:31 -04:00
Marcus Smith 57c19d3497 Merge pull request #19 from pfmoore/wheel_in_req
Allow --use-wheel in requirements files
2012-10-25 13:23:00 -07:00
Marcus Smith be12f79ab4 merge pypa/develop 2012-10-25 12:51:07 -07:00
Paul Nasrat 32f0be7a96 Merge pull request #702 from qwcode/link_sort2
put back finder link priority (with tests)
2012-10-24 23:53:39 -07:00
Paul Moore b7a88b8623 Allow --use-wheel in requirements files 2012-10-24 14:53:58 +01:00
Paul Nasrat f54f422e11 Merge pull request #677 from blaze33/develop
Explicitly ignore rel='download' links while looking for html pages.
2012-10-24 06:02:37 -07:00
Ben Rosser b4a3133ef8 Updated to upstream to make pull request build 2012-10-19 01:54:42 -04:00
Marcus Smith 403f8d53a5 --user installs work properly with --upgrade 2012-10-17 22:59:43 -07:00
Daniel Holth e0f353596f make sure bdist_wheel is available up front 2012-10-16 21:57:37 -04:00
Marcus Smith a0cd7b6991 use CommandError 2012-10-16 16:48:15 -07:00
Marcus Smith cdcdf459bc 'pip wheel' doesn't support py25 2012-10-16 16:39:56 -07:00
Marcus Smith 4bfc92ddba 'pip wheel' 2012-10-16 15:57:10 -07:00
Marcus Smith 6e481b1f9e Merge pull request #8 from pfmoore/wheel_install_platcheck
Add platform checks to wheel location code
2012-10-14 16:21:54 -07:00
Marcus Smith c770ad66db let installed version be it's own item 2012-10-13 23:03:09 -07:00
Paul Moore 50c21119e5 Add platform checks to wheel location code 2012-10-12 09:36:05 +01:00
Marcus Smith 74338676f5 Guard the chmod in case external_attr is 0. 2012-10-11 20:35:02 -07:00
Marcus Smith 758c3368e9 finder link priority 2012-10-10 21:49:29 -07:00
hetmankp 061954f29d Added --root command line option, works the same as for distutils 2012-10-08 14:49:30 +11:00
Jannis Leidel 40ec94fc8e Fixed the argument signature of two InstallationError instances. 2012-10-05 20:05:20 +02:00
Alex Grönholm 47af6d4094 Append / to the PyPI URL to reduce unnecessary redirects 2012-10-02 21:19:56 +03:00
Marcus Smith 2d3cd9d076 use the constructed exename 2012-10-02 07:48:54 -07:00
Daniel Holth aa5b33dbf4 experimental support for installing wheel archives 2012-10-01 22:50:24 -07:00
Maxime Rouyrre 6a483a3778 Update method description to match expected behaviour. 2012-10-02 03:33:29 +02:00
Paul Nasrat 60e181bf9e Merge pull request #674 from bergundy/develop
switch submodule init/update to a single line
2012-10-01 04:59:15 -07:00
Marcus Smith 134b5e3fd3 Merge pull request #683 from qwcode/link_sort
fix PackageFinder version sorting
2012-09-28 21:13:25 -07:00
Marc Abramowitz 4342328a6a Log URL that we're downloading from at info level (-v) rather than debug
level (-vv).
2012-09-28 17:14:31 -07:00
Marcus Smith 93bdb858d8 fix finder version sorting with Inf object 2012-09-25 07:56:09 -07:00
Marcus Smith 4ea13f474c Inf py3x compatibility and tests 2012-09-23 14:46:22 -07:00
Carl Meyer 28aeb03b08 Add dependencies information to 'show' command. 2012-09-21 11:15:24 -06:00
Marcus Smith e066d36de8 don't add local dirs that are not findlinks to url list 2012-09-16 22:41:51 -07:00
Marcus Smith 534037906f file:// urls could have hash fragments 2012-09-16 17:42:54 -07:00
Marcus Smith af7bd9ccdb index file:// urls that are dirs should not have listdir run against them 2012-09-16 17:41:27 -07:00
Maxime Rouyrre 0bb9c31aea Explicitly ignore rel='download' links while looking for html pages.
This way we avoid requesting archive headers just to see they're not
HTML pages.
2012-09-14 17:27:58 +02:00
Roey Berman 297d9ffca0 switch submodule init/update to a single line 2012-09-13 04:01:28 +03:00
Carl Meyer 8c9a241fb2 Rename 'status' command 'show'. 2012-09-12 10:39:19 -06:00
Rafael Caricio 85bbe26f64 Make optional the full file listing. 2012-09-11 17:44:42 -03:00
Rafael Caricio 71286afc4d Enable listing all the installed files. 2012-09-11 16:35:03 -03:00
Carl Meyer f2df551094 Merge pull request #671 from pfmoore/develop
Fix for issue 670 (unorderable Link types under Python 3)
2012-09-10 18:20:56 -07:00
Paul Moore 1dee479184 Code changes for fix to issue 670 2012-09-10 21:04:00 +01:00
Andrey Bulgakov a4da43ada4 _get_md5_from_file -> _get_hash_from_file 2012-09-10 02:57:36 -06:00
andreiko aa2b3522f6 fixed typo: md5_hash -> hash 2012-09-10 02:57:36 -06:00
Andrey Bulgakov 8d194bfcfc check if file was already downloaded
In --download mode skip downloading when file already exists in target directory
2012-09-10 02:57:36 -06:00
Carl Meyer 3c7509d9e0 Merge pull request #659 from lanxenet/patch-1
Fix bug with ;-terminated PATHEXT on Windows.
2012-09-10 01:11:53 -07:00
Carl Meyer 895bfee767 Allow --no-index and --find-links relative path in reqs file. 2012-09-10 00:48:48 -06:00
Paul Moore 04f01f227e Support local file paths in --find-links arguments 2012-09-09 21:15:32 +01:00
Carl Meyer 6d5a9e2fb2 Minor cleanup. 2012-09-08 15:31:59 -06:00
Rafael Caricio 63459a2707 Little refactory. 2012-09-07 18:18:48 -04:00
Rafael Caricio 16f76e24bd Only print some files. 2012-09-07 17:44:49 -04:00
Rafael Caricio b78dff8d2c Refactory and support to package name in any case. 2012-09-07 17:17:04 -04:00
Rafael Caricio 44470d1bd0 Remove blank spaces in the end of the line. 2012-09-07 16:01:34 -04:00
Rafael Caricio 76bbecd42e Added the patch code sent by @vbabiy. 2012-09-07 15:56:00 -04: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
Garry Polley 0d27d5aa0a Fixing import error for tempfile
A change was made to add extra logging whenever pip log files cannot be added. 

Here is the changeset that caused the issue:  8ebc7a3160 (pip)/basecommand.py
2012-09-05 15:55:34 -05:00
enoch 5230dd2016 修复配置PATHEXT最后一个字符如果是分号的情况。 2012-09-05 18:04:09 +08:00
Marcus Smith 99e28f072b just log warning and return when no paths, don't raise 2012-09-03 10:55:10 -07:00
Jannis Leidel 7760a01ddc Simplified get_prog to not trigger any exception. 2012-09-01 21:14:07 +02:00
Jannis Leidel 7492f9c23a Safeguard against sys.argv not existing. 2012-09-01 21:06:29 +02:00
Jannis Leidel 5c3f415f23 Trying to fix a werid test failure. 2012-09-01 20:58:39 +02:00
Jannis Leidel 1447d7d2ac Use our own terminal size util. 2012-09-01 20:36:35 +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 95ff6fc32b Moved __main__.py to correct location. 2012-09-01 20:36:27 +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
Jannis Leidel 0fdab685c9 Merge branch 'develop' of github.com:pypa/pip into develop 2012-09-01 18:41:06 +02:00
Jannis Leidel 7edd31d41b build/ IS a good name. 2012-09-01 16:55:20 +02:00
Jannis Leidel ad254bc382 Merge pull request #436 from kennethreitz/feature/eqdev
Only warn for mis-versioned packages.
2012-09-01 07:25:25 -07:00
Jannis Leidel 13cfa64ae7 Merge pull request #600 from mjtamlyn/patch-1
Minor tweak to handle not passing options to parse_requirements.
2012-09-01 07:09:54 -07:00
Jannis Leidel b183a32741 Merge pull request #646 from qwcode/issue_638
fix for #638  (__pycache__ file removal)
2012-08-27 01:15:41 -07:00
Marcus Smith 0569324855 handle __pycache__ file removal 2012-08-18 15:26:17 -07:00
Phil Freo 848a3b4f26 Fix typos in documentation 2012-08-18 17:18:44 -03:00
MiCHiLU 4d955d56af Fix issue #632 - IOError in zip command with --path option 2012-08-13 13:02:16 +09:00
Marcus Smith 90b983f08d workaround for pip issue #626 2012-08-04 18:49:29 -07:00
Marcus Smith 5a1c6093b6 pypy home scheme fix 2012-08-04 18:48:16 -07:00
Paul Nasrat fa8c738b30 Merge pull request #612 from qwcode/issue_420
test enhancements to pull #599 (which fixes issue #420)
2012-07-29 22:20:31 -07:00
Paul Nasrat d1a7ea2587 Issue #597 pypy hashlib compat.
Hash attribute name is a cpython implementation detail and not in the
PEP.

Use digest_size for some form of validation as that is all we can rely
on.

TESTED 2.7, 3.3, pypy 1.9
2012-07-29 11:37:56 +01:00
Phil Whelan 888ae41ccf stop get_mirrors returning 216k invalid hostname from Japan 2012-07-18 15:05:23 +09:00
Marc Tamlyn 5b6d24f1be Minor tweak to handle not passing options to parse_requirements.
Options is supposed to be an optional argument, this makes it optional.
2012-07-13 18:04:27 +02:00
Clay McClure 723500188d Remove temp build dir even if the req is not installed (fixes #420) 2012-07-12 22:53:16 -04:00
Clay McClure 4807b90244 Correct a comment 2012-07-12 16:51:13 -04:00
Carl Meyer 15d2944f02 Merge branch develop into feature/issue-355-safe-uninstall 2012-07-09 22:01:25 -06:00
Marcus Smith 8f566d7a86 smarter pip.util.egg_link_path 2012-07-08 16:03:12 -07:00
Piet Delport 104f961352 Ignore top_level.txt if installed-files.txt is available. 2012-07-08 12:32:11 +02:00
Donald Stufft 5edbdc34f3 Merge branch 'develop' into multiple-hashers 2012-07-04 13:32:57 -04:00
Paul Nasrat 5562a6bb1f Merge pull request #584 from msabramo/issue-11
Make _run_setup_py magic use pkg_resources.iter_entry_points
2012-07-02 01:47:47 -07:00
Paul Nasrat 7c080e2f38 Fix failing bzr vcs test 2012-07-01 11:47:23 +01:00
Paul Nasrat 1aace2a7ab Merge branch 'develop' of https://github.com/orutherfurd/pip into 552-bzr-33-compat 2012-07-01 11:04:20 +01:00
Paul Nasrat d82816c128 Merge pull request #585 from qwcode/userscheme_pt6
--user fixes part 6 #573
2012-06-30 10:38:06 -07:00
Marcus Smith 0e3c03f958 raise InstallationError when UninstallPathSet has no paths 2012-06-25 22:35:27 -07:00
Marcus Smith 0708447bba don't --user install in --system-site-packages virtualenvs with conflict 2012-06-23 08:35:22 -07:00
Marc Abramowitz ea109a0bd9 Make magic use pkg_resources.iter_entry_points instead of relying on
egg_info.iter_entry_points, which might not be there if someone
redefines egg_info (like the setup.py for pyobjc-core does)

Fixes GH-11
2012-06-21 14:25:19 -07:00
Donald Stufft c9ada2de47 Merge branch 'develop' into multiple-hashers
Conflicts:
	pip/backwardcompat.py
	pip/download.py
2012-06-21 02:46:20 -04:00
Your Name 5d9c7e56f3 Re-add import shutil that got lost in merge 2012-06-19 19:10:09 -04:00
Your Name 18f2e2cbe5 Merged with upstream 2012-06-19 19:06:27 -04:00
unknown 8ebc7a3160 Updated basecommand.py such that writing to the log file doesn't fail. If
permission is denied for writing in the specified log file the message
will be written to a temporary one.
2012-06-16 18:28:13 +03:00
lepture 94af30dc68 fix #533 . quite and recursive on submodule checkout 2012-06-13 23:27:38 +02:00
lepture 4e264664e2 fix on git repo. if a repo contains submodules, checkout submodules 2012-06-13 23:27:38 +02:00
Marcus Smith 2b9e9b4a1e dist_in_usersite explicitly returns False 2012-06-11 07:04:01 -07:00
Marcus Smith 0aadda7f16 usersite installs should ignore version conflicts with site 2012-06-10 18:16:48 -07:00
Ollie Rutherfurd 80a1b9edfc non_hierarchical was dropped at the same time as uses_fragment (#552) 2012-06-07 12:35:41 -04:00
Ollie Rutherfurd ed09b444bd fix compatability w/3.3 & 2.7.4 & bazaar (#552) 2012-06-07 11:34:27 -04:00
Carl Meyer c16eee465d Merge remote-tracking branch 'TC01/develop' into develop 2012-06-06 08:21:39 -06:00
Carl Meyer 4b68fa2cf5 Remove backwards-compatibility shims for Python 2.4. 2012-06-06 08:21:16 -06:00
Marcus Smith 2e1959abfb don't allow --user installs in no-global virtualenvs 2012-06-05 20:01:35 -07:00
Ben Rosser b251709ac1 Re-added try/except around src_prefix 2012-06-05 21:27:36 -04:00
Carl Meyer c92190884d Merge pull request #563 from msabramo/issue-556-2
Workaround for GH-556 by completely removing pkgutil stuff and replacing with a vanilla import at the top of the file.
2012-06-05 08:13:14 -07:00
Ben Rosser b158838c19 Fixes to build and src dir locations 2012-06-04 18:23:31 -04:00
Ben Rosser 070c958025 Revert "Fixes to src and build dir locations"
This reverts commit 20f8ce289d.
2012-06-04 18:16:19 -04:00
Ben Rosser 20f8ce289d Fixes to src and build dir locations
Moved src_dir back to cwd for now. build_dir is still created in the
system's temporary dir (tempfile.gettempdir()), but always as
"pip-build".
2012-06-04 18:11:53 -04: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 a8e68b6858 Revert "Fix windows CI build tests."
This reverts commit 5004c62bb7.

Doesn't fix win32. Needs more work
2012-06-03 16:16:31 +01:00
Paul Nasrat 5004c62bb7 Fix windows CI build tests.
On windows we can't assume os.getcwd returns url friendly format. Use
urllib pathname2url.
2012-06-03 14:40:59 +01:00
Paul Nasrat 32fad40bd5 Merge pull request #555 from orutherfurd/develop
Python >= 3.3a4 handles url fragments automatically
2012-06-01 15:31:31 -07:00
Ollie Rutherfurd 2cfd872fec Python >= 3.3a4 handles url fragments automatically 2012-06-01 18:17:23 -04:00
Marc Abramowitz 239db6e9eb Make the unknown VCS error message generate its text from the actual
list of known VCSs rather than hard-coding the ones supported now.
2012-06-01 15:11:58 -07:00
Paul Nasrat 8bdd852e5d Merge pull request #516 from TC01/develop
Temporary build and src directories no longer created in cwd/pwd (bugs #339, #381)
2012-05-31 14:57:51 -07:00
Paul Nasrat 62a1b3065c Fix error message for pip install -e path
When setup.py missing give appropriate error message.

Fixes issue #546
2012-05-31 13:49:19 +01:00
Ben Rosser 51051964df Minor fixes 2012-05-30 11:43:55 -04:00
Donald Stufft de265f44d4 Issue a warning for an unsuported hash type and catch TypeError as well 2012-05-26 18:39:47 -04:00
Donald Stufft ed234c905e fix a typo 2012-05-26 17:56:26 -04:00
Donald Stufft 84eeeb33ad remove md5 from backwards compat 2012-05-26 17:56:26 -04:00
Donald Stufft b4737a4d13 modify the hashing functions so that they accept any of the guarenteed hashers 2012-05-26 17:56:26 -04:00
Carl Meyer fcd79d3cbc Merge pull request #500 from nickstenning/feature/local-extras
Add support for specifying extras with local editable paths
2012-05-24 07:55:24 -07:00
Kamal Bin Mustafa becfb83e36 do write installed-files.txt if using install --egg 2012-05-24 07:36:14 +08:00
Ben Rosser 3a23763dfe Added migration path from ~/.pip to ~/.config/pip 2012-05-23 15:26:01 -04:00
Nick Stenning df201a4d03 Add support for specifying extras with local editable paths.
- allow parse_editable(...) to return an extras_override tuple
- update InstallRequirement.from_editable to use extras_override
- add a bunch of tests for parse_editable
2012-05-23 17:08:38 +01:00
Ben Rosser fa9cc7c0f7 Merged with upstream 2012-05-22 08:23:13 -04:00
Ben Rosser 882227a0e9 Switched to use XDG_CONFIG_DIR environment variable if possible (default to ~/.config if not) 2012-05-21 22:37:46 -04:00
Ben Rosser 5442218c6d Fixed commit #1 to actually work 2012-05-21 22:14:25 -04:00
Ben Rosser 390917d3a5 Moved configuration and logging to .config for XDG compliance 2012-05-21 22:10:50 -04:00
Ben Rosser f2bd45a936 Removed the ~/.config changes from devel branch, will put into a different branch later 2012-05-21 22:04:15 -04:00
Kamal Bin Mustafa 93cd6b1620 add --egg option to opt out --single-version-externally-managed 2012-05-20 11:18:36 +08:00
Paul Nasrat b5e7cdecc1 Merge pull request #465 from gvalkov/compact-optformat
Use a prettier/less verbose help formatter
2012-05-14 16:32:46 -07:00
Georgi Valkov 0371ddb86f Style and consistency fixes as suggested by reviewers 2012-05-15 00:37:00 +03:00
Jeff Dairiki ec38cb7600 Bug fix: do not mutate list while iterating over it. 2012-05-14 14:27:03 -07:00
Paul Nasrat 8bc587fdc7 Merge pull request #372 from sethwoodworth/develop
issue #321: provides except block for when current working directory fail
2012-05-13 14:55:47 -07:00
Paul Nasrat 3e1e131da0 Merge pull request #383 from apatrushev/develop
Correct windows config location to match docs fixes Issue #82
2012-05-13 14:46:35 -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
Paul Nasrat 425d564395 Merge pull request #466 from gvalkov/pip-error-base
All pip exceptions inherit from PipError
2012-05-13 13:26:33 -07:00