aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/egg_info.py
diff options
context:
space:
mode:
authorPJ Eby <distutils-sig@python.org>2008-08-21 19:20:10 +0000
committerPJ Eby <distutils-sig@python.org>2008-08-21 19:20:10 +0000
commit3dc61ffa084eaff9c3515f8faf7fde19a94160dd (patch)
tree51f9728339862c2561edcbc3024dae87aa9f4f35 /setuptools/command/egg_info.py
parentd76df70dd1dffb2591c6a26ecc2a20958ee03073 (diff)
downloadexternal_python_setuptools-3dc61ffa084eaff9c3515f8faf7fde19a94160dd.tar.gz
external_python_setuptools-3dc61ffa084eaff9c3515f8faf7fde19a94160dd.tar.bz2
external_python_setuptools-3dc61ffa084eaff9c3515f8faf7fde19a94160dd.zip
Fix for http://bugs.python.org/setuptools/issue9 (backport from trunk)
--HG-- branch : setuptools-0.6 extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/branches/setuptools-0.6%4065955
Diffstat (limited to 'setuptools/command/egg_info.py')
-rwxr-xr-xsetuptools/command/egg_info.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/setuptools/command/egg_info.py b/setuptools/command/egg_info.py
index 4e135d33..9741e26a 100755
--- a/setuptools/command/egg_info.py
+++ b/setuptools/command/egg_info.py
@@ -168,6 +168,12 @@ class egg_info(Command):
for ep in iter_entry_points('egg_info.writers'):
writer = ep.load(installer=installer)
writer(self, ep.name, os.path.join(self.egg_info,ep.name))
+
+ # Get rid of native_libs.txt if it was put there by older bdist_egg
+ nl = os.path.join(self.egg_info, "native_libs.txt")
+ if os.path.exists(nl):
+ self.delete_file(nl)
+
self.find_sources()
def tags(self):
@@ -197,12 +203,6 @@ class egg_info(Command):
-
-
-
-
-
-
def get_svn_revision(self):
revision = 0
urlre = re.compile('url="([^"]+)"')