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

64 commits

Author SHA1 Message Date
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 2743768b7b Fix the style of the code base to better match pep8 2014-01-27 14:11:29 -05:00
Donald Stufft e68986c734 Find the virtual environments created by Python3.3 2013-12-19 23:42:32 -05:00
Marcus Smith f53befcd99 merge from 1.5.X 2013-12-08 15:24:42 -08:00
Paul Moore 884861f390 Added a virtualenv-specific configuration file 2013-12-04 13:04:54 +00:00
Marcus Smith 861023bc0d uninstalling --user dists should leave global scripts alone 2013-11-29 17:08:43 -08:00
Marcus Smith 1d1aaa9058 fix for certain platforms/versions not having os.O_NOFOLLOW 2013-11-24 15:26:22 -08:00
Marcus Smith ab21c1de32 pip.locations.distutils_scheme should read distutils config files 2013-11-04 23:40:26 -08:00
Donald Stufft 00c11deb25 Ensure that --root continues to work with Wheels 2013-10-31 08:49:23 -04:00
Donald Stufft 97507f8931 Make Wheel respect --root 2013-10-30 08:19:39 -04:00
Donald Stufft ff2854a855 Use requests instead of urllib2 2013-09-24 23:32:03 -04:00
Marcus Smith 1afdc665ae don't override distutils scripts location using pip's legacy logic 2013-08-31 15:28:44 -07:00
Marcus Smith a3109c17c6 changing global build dir name; see https://github.com/pypa/pip/issues/1078#issuecomment-21469936 2013-07-24 01:25:59 -07:00
david 267c79df2e Fix #982 by using the effective user id on unix systems instead of depending on
getpass.getuser(). This is required because on some systems 'LOGNAME'
is not updated by sudo.
Signed-off-by: david <db@d1b.org>
2013-06-15 13:17:45 +10:00
Marcus Smith 66d8e7b8c7 write pip delete marker into global build dir upon creation 2013-05-18 18:05:25 -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 0ed73a03c5 os.path.realpath for build_prefix globally and in virtualenvs 2013-02-21 21:36:26 -08:00
Marcus Smith 84964064a3 --cert-path and --no-ssl options 2013-02-06 23:27:53 -08:00
Marcus Smith 7e20fd83a2 move cert_path to locations module 2013-02-06 00:55:17 -08:00
Marcus Smith cabd1d5f80 merge with pypa/pip/develop 2013-02-02 22:40:30 -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 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 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
Ben Rosser b4a3133ef8 Updated to upstream to make pull request build 2012-10-19 01:54:42 -04:00
Jannis Leidel 7edd31d41b build/ IS a good name. 2012-09-01 16:55:20 +02: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
Carl Meyer c16eee465d Merge remote-tracking branch 'TC01/develop' into develop 2012-06-06 08:21:39 -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
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
Ben Rosser 51051964df Minor fixes 2012-05-30 11:43:55 -04:00
Ben Rosser 3a23763dfe Added migration path from ~/.pip to ~/.config/pip 2012-05-23 15:26:01 -04: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
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
Ben Rosser 2c2f810f1b Fix/hack: after creating the temp dirs, delete them and save their names so pip can create them properly later 2012-04-23 17:35:11 -04:00