diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2016-10-23 09:53:45 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2016-10-23 09:53:45 -0400 |
commit | 12eba181398860ae741eda4affadcd4d75f11ae3 (patch) | |
tree | 31e6736b51b3caeb8e8f1128402249856a167841 /setuptools/namespaces.py | |
parent | 5951f62664b85b4bd751e955c16ea06ff6931701 (diff) | |
download | external_python_setuptools-12eba181398860ae741eda4affadcd4d75f11ae3.tar.gz external_python_setuptools-12eba181398860ae741eda4affadcd4d75f11ae3.tar.bz2 external_python_setuptools-12eba181398860ae741eda4affadcd4d75f11ae3.zip |
Create DevelopInstaller, inspired by the code in #789.
Diffstat (limited to 'setuptools/namespaces.py')
-rwxr-xr-x | setuptools/namespaces.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/setuptools/namespaces.py b/setuptools/namespaces.py index 8451a06c..cc934b7e 100755 --- a/setuptools/namespaces.py +++ b/setuptools/namespaces.py @@ -83,3 +83,11 @@ class Installer: while parts: yield '.'.join(parts) parts.pop() + + +class DevelopInstaller(Installer): + def _get_root(self): + return repr(str(self.egg_path)) + + def _get_target(self): + return self.egg_link |