summaryrefslogtreecommitdiff
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2006-02-10 21:09:12 +0000
committerPJ Eby <distutils-sig@python.org>2006-02-10 21:09:12 +0000
commita0662830b342b51d58d9ae76881007daa6266aa7 (patch)
tree121e9521740c41850a632b0319f48d38612cfc8d /setuptools/command/develop.py
parent884ec05cabc1545ae07f0b074c1e79b525ccf3cb (diff)
downloadpython-setuptools-git-a0662830b342b51d58d9ae76881007daa6266aa7.tar.gz
Implemented DWIM for PYTHONPATH. That is, ez_setup and easy_install
should now "just work" if you're using a PYTHONPATH target, and if it can't "just work", you get helpful instructions and doc links. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4042308
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-xsetuptools/command/develop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py
index fafe60b5..774b6b5f 100755
--- a/setuptools/command/develop.py
+++ b/setuptools/command/develop.py
@@ -67,6 +67,8 @@ class develop(easy_install):
self.reinitialize_command('build_ext', inplace=1)
self.run_command('build_ext')
+ self.install_site_py() # ensure that target dir is site-safe
+
# create an .egg-link in the installation dir, pointing to our egg
log.info("Creating %s (link to %s)", self.egg_link, self.egg_base)
if not self.dry_run:
@@ -78,8 +80,6 @@ class develop(easy_install):
# and handling requirements
self.process_distribution(None, self.dist)
-
-
def uninstall_link(self):
if os.path.exists(self.egg_link):
log.info("Removing %s (link to %s)", self.egg_link, self.egg_base)