Matthew Einhorn
4baca82181
Replaces spaces in username.
...
Conflicts:
pip/locations.py
2014-08-29 21:12:04 -04:00
Richard Jones
aedca3c842
Implement site-wide configuration settings
...
* add site_config_dirs() to appdirs to determine locations across OSes
* add system_config_files to locations.py
* add system_config_files to get_config_files() and re-order files entries to correct precedence
* document changes to configuration files in user guide
Closes #309
2014-08-22 14:26:41 +10:00
Donald Stufft
4a8173c4ed
Fix #1680 - Use System SSL Certificates if Available
2014-06-12 23:10:00 -04:00
Matthew Iversen
dcb0ee0702
Move backwardcompat package to compat module
2014-05-14 13:10:06 +10:00
Donald Stufft
52ca02608e
Use CacheControl instead of custom cache code
...
* Deprecates the --download-cache option & removes the download
cache code.
* Removes the in memory page cache on the index
* Uses CacheControl to cache all cacheable HTTP requests to the
filesystem.
* Properly handles CacheControl headers for unconditional
caching.
* Will use ETag and Last-Modified headers to attempt to do a
conditional HTTP request to speed up cache misses and turn
them into cache hits.
* Removes some concurrency unsafe code in the download cache
accesses.
* Uses a Cache-Control request header to limit the maximum
length of time a cache is valid for.
* Adds pip.appdirs to handle platform specific application
directories such as cache, config, data, etc.
2014-05-09 18:28:20 -04:00
Matthew Iversen
5d30c43fff
Add back user_site
for locations and util
2014-04-16 07:59:56 +10:00
Matthew Iversen
bcc1a4018c
Move site.USER_SITE and sysconfig out of backwardcompat
...
2.6 always has these now :D
2014-04-16 06:13:08 +10:00
Donald Stufft
5a76a47d3b
Fix code to handle the latest flake8
2014-03-26 18:24:19 -04:00
schlamar
3affcaa2b8
install_lib should take precedence when reading distutils config.
2014-03-13 20:19:26 +01:00
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