Commit 6d85a801 authored by PJ Eby's avatar PJ Eby

Add python version to egg filename.

--HG--
branch : setuptools
extra : convert_revision : svn%3A6015fed2-1504-0410-9fe1-9d1591cc4771/sandbox/trunk/setuptools%4040990
parent e9230cf5
......@@ -8,6 +8,7 @@ import os
from distutils.core import Command
from distutils.util import get_platform
from distutils.dir_util import create_tree, remove_tree, ensure_relative,mkpath
from distutils.sysconfig import get_python_version
from distutils.errors import *
from distutils import log
......@@ -74,8 +75,8 @@ class bdist_egg(Command):
# And make an archive relative to the root of the
# pseudo-installation tree.
archive_basename = "%s-%s" % (self.distribution.get_fullname(),
self.plat_name)
archive_basename = "%s-py%s-%s" % (self.distribution.get_fullname(),
get_python_version(),self.plat_name)
# OS/2 objects to any ":" characters in a filename (such as when
# a timestamp is used in a version) so change them to hyphens.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment