diff options
author | PJ Eby <distutils-sig@python.org> | 2005-05-30 23:22:10 +0000 |
---|---|---|
committer | PJ Eby <distutils-sig@python.org> | 2005-05-30 23:22:10 +0000 |
commit | a0453161619be7baa6b7d7e4b223f431ac42340d (patch) | |
tree | dc1b391274cd63847c839cedee6dec2c9842decc /setuptools/command/bdist_egg.py | |
parent | 0017e334832e46e7371502f88bb71bbce11f863f (diff) | |
download | external_python_setuptools-a0453161619be7baa6b7d7e4b223f431ac42340d.tar.gz external_python_setuptools-a0453161619be7baa6b7d7e4b223f431ac42340d.tar.bz2 external_python_setuptools-a0453161619be7baa6b7d7e4b223f431ac42340d.zip |
Ensure that the distribution name written to PKG-INFO is the same as the
name you'll use in 'require()' operations for that distribution.
--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4041030
Diffstat (limited to 'setuptools/command/bdist_egg.py')
-rw-r--r-- | setuptools/command/bdist_egg.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/bdist_egg.py b/setuptools/command/bdist_egg.py index 39042fb8..d3139580 100644 --- a/setuptools/command/bdist_egg.py +++ b/setuptools/command/bdist_egg.py @@ -174,15 +174,15 @@ class bdist_egg(Command): egg_info = os.path.join(archive_root,'EGG-INFO') self.mkpath(egg_info) self.mkpath(self.egg_info) - log.info("writing %s" % os.path.join(self.egg_info,'PKG-INFO')) if not self.dry_run: metadata = self.distribution.metadata metadata.version, oldver = self.egg_version, metadata.version + metadata.name, oldname = self.egg_name, metadata.name try: metadata.write_pkg_info(self.egg_info) finally: - metadata.version = oldver + metadata.name, metadata.version = oldname, oldver native_libs = os.path.join(self.egg_info,"native_libs.txt") if ext_outputs: |