aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-12-11 15:40:54 -0500
committerJason R. Coombs <jaraco@jaraco.com>2016-12-11 15:57:23 -0500
commit67aefd1b218e5a97fb4be7830ac4b28d8eb6a26e (patch)
tree82e40eaa20e4ee8eb41f8319e84c40dc75317a07 /setuptools/command/develop.py
parentacd949909b158557984ad9a4ffda401367f089c5 (diff)
parent3dd506f01d48b98aeea9bdbca0105d4c7d8ad538 (diff)
downloadexternal_python_setuptools-67aefd1b218e5a97fb4be7830ac4b28d8eb6a26e.tar.gz
external_python_setuptools-67aefd1b218e5a97fb4be7830ac4b28d8eb6a26e.tar.bz2
external_python_setuptools-67aefd1b218e5a97fb4be7830ac4b28d8eb6a26e.zip
Merge branch 'develop-nspkg-always' into issue250-module_from_spec
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-xsetuptools/command/develop.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py
index 3eb86120..aa82f959 100755
--- a/setuptools/command/develop.py
+++ b/setuptools/command/develop.py
@@ -9,10 +9,11 @@ from setuptools.extern import six
from pkg_resources import Distribution, PathMetadata, normalize_path
from setuptools.command.easy_install import easy_install
+from setuptools import namespaces
import setuptools
-class develop(easy_install):
+class develop(namespaces.DevelopInstaller, easy_install):
"""Set up package for development"""
description = "install package in 'development mode'"
@@ -30,6 +31,7 @@ class develop(easy_install):
if self.uninstall:
self.multi_version = True
self.uninstall_link()
+ self.uninstall_namespaces()
else:
self.install_for_development()
self.warn_deprecated_options()
@@ -123,6 +125,8 @@ class develop(easy_install):
self.easy_install(setuptools.bootstrap_install_from)
setuptools.bootstrap_install_from = None
+ self.install_namespaces()
+
# 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: