summaryrefslogtreecommitdiff
path: root/setuptools/command
diff options
context:
space:
mode:
authorphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2006-09-06 19:43:39 +0000
committerphillip.eby <phillip.eby@6015fed2-1504-0410-9fe1-9d1591cc4771>2006-09-06 19:43:39 +0000
commita69cca9939f2c8beefad5c81cd540d884ee6d475 (patch)
tree7dc6b81fd5a662f9d11063b186671dcc29df4d30 /setuptools/command
parent02f0167e1563afeb8504ad9822f4ae004f6fd477 (diff)
downloadpython-setuptools-a69cca9939f2c8beefad5c81cd540d884ee6d475.tar.gz
Don't check installation directory writability and site/.pth setup when
using --editable. git-svn-id: http://svn.python.org/projects/sandbox/trunk/setuptools@51781 6015fed2-1504-0410-9fe1-9d1591cc4771
Diffstat (limited to 'setuptools/command')
-rwxr-xr-xsetuptools/command/easy_install.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py
index 72a699b..a301daf 100755
--- a/setuptools/command/easy_install.py
+++ b/setuptools/command/easy_install.py
@@ -155,7 +155,7 @@ class easy_install(Command):
)
else:
self.all_site_dirs.append(normalize_path(d))
- self.check_site_dir()
+ if not self.editable: self.check_site_dir()
self.index_url = self.index_url or "http://www.python.org/pypi"
self.shadow_path = self.all_site_dirs[:]
for path_item in self.install_dir, normalize_path(self.script_dir):
@@ -411,7 +411,7 @@ Please make the appropriate changes for your system and try again.
def easy_install(self, spec, deps=False):
tmpdir = tempfile.mkdtemp(prefix="easy_install-")
download = None
- self.install_site_py()
+ if not self.editable: self.install_site_py()
try:
if not isinstance(spec,Requirement):