aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/develop.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2005-07-18 01:39:45 +0000
committerPJ Eby <distutils-sig@python.org>2005-07-18 01:39:45 +0000
commitc7214855992b9657d6a490f46764ffaf4089c1cb (patch)
tree940c06d0e3d88ace603a430c4bf3f6f98b94c204 /setuptools/command/develop.py
parent61a0e7109e42e844dcda2637fa3bbf5d1f897938 (diff)
downloadexternal_python_setuptools-c7214855992b9657d6a490f46764ffaf4089c1cb.tar.gz
external_python_setuptools-c7214855992b9657d6a490f46764ffaf4089c1cb.tar.bz2
external_python_setuptools-c7214855992b9657d6a490f46764ffaf4089c1cb.zip
Massive API refactoring; see setuptools.txt changelog for details. Also,
add ``#egg=project-version`` link support, and docs on how to make your package available for EasyInstall to find. --HG-- branch : setuptools extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041135
Diffstat (limited to 'setuptools/command/develop.py')
-rwxr-xr-xsetuptools/command/develop.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/develop.py b/setuptools/command/develop.py
index 40d22b28..1eb8bf6b 100755
--- a/setuptools/command/develop.py
+++ b/setuptools/command/develop.py
@@ -1,6 +1,6 @@
from setuptools.command.easy_install import easy_install
from distutils.util import convert_path
-from pkg_resources import Distribution, PathMetadata
+from pkg_resources import Distribution, PathMetadata, normalize_path
from distutils import log
import sys, os
@@ -49,7 +49,7 @@ class develop(easy_install):
# Make a distribution for the package's source
self.dist = Distribution(
- self.egg_path,
+ normalize_path(self.egg_path),
PathMetadata(self.egg_path, os.path.abspath(ei.egg_info)),
project_name = ei.egg_name
)