diff options
| author | Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de> | 2010-02-11 23:57:28 +0100 |
|---|---|---|
| committer | Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de> | 2010-02-11 23:57:28 +0100 |
| commit | 1afb0399de5ca0de191e63202b948d0eab16c2a9 (patch) | |
| tree | 284d960fc74a89152c71569a5ad8bccfb23f1bc9 /setuptools/command/develop.py | |
| parent | 8be7936fd2ed305b02e0f09adcb847c03ec5937e (diff) | |
| download | python-setuptools-bitbucket-1afb0399de5ca0de191e63202b948d0eab16c2a9.tar.gz | |
move the rest of the path handling code from develop to easy_install
also resuffle the path handlers a bit, hopefully everything works now
Diffstat (limited to 'setuptools/command/develop.py')
| -rwxr-xr-x | setuptools/command/develop.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py index d88d0990..93b7773c 100755 --- a/setuptools/command/develop.py +++ b/setuptools/command/develop.py @@ -35,25 +35,6 @@ class develop(easy_install): self.always_copy_from = '.' # always copy eggs installed in curdir - def _expand_attrs(self, attrs): - for attr in attrs: - val = getattr(self, attr) - if val is not None: - if os.name == 'posix' or os.name == 'nt': - val = os.path.expanduser(val) - val = subst_vars(val, self.config_vars) - setattr(self, attr, val) - - def expand_basedirs(self): - """Calls `os.path.expanduser` on install_base, install_platbase and - root.""" - self._expand_attrs(['install_base', 'install_platbase', 'root']) - - def expand_dirs(self): - """Calls `os.path.expanduser` on install dirs.""" - self._expand_attrs(['install_purelib', 'install_platlib', - 'install_lib', 'install_headers', - 'install_scripts', 'install_data',]) def finalize_options(self): ei = self.get_finalized_command("egg_info") |
