summaryrefslogtreecommitdiff
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
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)