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

48 commits

Author SHA1 Message Date
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
Ben Rosser 5f1f1a1699 Removed some redundancy with the new temporary folders 2012-04-22 22:25:05 -04:00
Ben Rosser 667ace7224 Use tempfile for temporary pip directories 2012-04-22 21:34:58 -04:00
Ben Rosser b6e3ccdef8 Use ~/.config/pip to store configuration/logging instead of ~/.pip 2012-04-22 21:29:25 -04:00
Olivier Girardot 3b320cbf50 merging from bitbucket/callahad patch for #182 2011-12-12 00:07:12 -07:00
Anton Patrushev 4b934a14b0 remove special case for user_dir on win32 platform. fixes #82 2011-11-07 17:26:46 +06:00
Seth Woodworth 533247cc9a wrapping just the os.getcwd() in the try block 2011-10-30 20:21:06 -04:00
Seth Woodworth 47b9a08df2 issue #321: provides except block for when current working directory fails 2011-10-18 15:55:37 -04:00
Vinay Sajip 680b5dfda0 Port to Python3 2011-03-15 15:49:48 -04:00
Hugo Lopes Tavares ced226c246 added fix to mac os x + virtualenv - and fixed test_basic.py to install distribute when using --user option 2010-11-21 13:27:37 -02:00
Hugo Lopes Tavares 19cf68d82f removed circular import. moved running_under_virtualenv to pip.locations and updated imports 2010-07-01 21:03:54 -03:00
Hugo Lopes Tavares 99bf39bcd6 removed _running_under_virtualenv defined in locations.py, and renamed pip.util.in_venv to pip.util.running_under_virtualenv 2010-07-01 12:27:07 -03:00
Hugo Lopes Tavares 8cdbebc60f added a global function with a good name, abstracting how it knows about running under virtualenv 2010-07-01 00:09:22 -03:00
Jannis Leidel 0bf943e4f4 Fixed #47 - Use ~/.pip/pip.log as the default location of log files. 2010-03-11 00:20:33 +01:00
Ian Bicking 5c0d44fe5f Factor out the base option parser, and the file locations 2009-11-20 01:25:32 -06:00