From 12eba181398860ae741eda4affadcd4d75f11ae3 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sun, 23 Oct 2016 09:53:45 -0400 Subject: Create DevelopInstaller, inspired by the code in #789. --- setuptools/namespaces.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'setuptools/namespaces.py') 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 -- cgit v1.2.1