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
commit2f023b3ad3119838b7ee9b00c372a53eb48dcaaa (patch)
tree121e9521740c41850a632b0319f48d38612cfc8d /setuptools/command/develop.py
parent38be8f74666898b94ba8f53e6d26aef8126c5f12 (diff)
downloadpython-setuptools-bitbucket-2f023b3ad3119838b7ee9b00c372a53eb48dcaaa.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.
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)