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 | 0b3d2302b8b209c7bed8bdad6e1a6cff34889779 (patch) | |
tree | 7384e901fa3d4a7c99ccd95fe97a2469936a3b3d /setuptools/command/develop.py | |
parent | c14e1a1398cf7ece7a4bcb15317868163789d879 (diff) | |
download | external_python_setuptools-0b3d2302b8b209c7bed8bdad6e1a6cff34889779.tar.gz external_python_setuptools-0b3d2302b8b209c7bed8bdad6e1a6cff34889779.tar.bz2 external_python_setuptools-0b3d2302b8b209c7bed8bdad6e1a6cff34889779.zip |
move the rest of the path handling code from develop to easy_install
also resuffle the path handlers a bit, hopefully everything works now
--HG--
branch : distribute
extra : rebase_source : dc8e4217f5832b15e8f7287c95732bc68d1e1cf5
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") |