Skip to content

Commit f0aaeb5

Browse files
committed
Revert changes to distutils
1 parent b93e7af commit f0aaeb5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

setuptools/_distutils/dist.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
DistutilsArgError,
2424
DistutilsClassError,
2525
)
26-
from setuptools.extern.packaging.utils import canonicalize_name, canonicalize_version
2726
from .fancy_getopt import FancyGetopt, translate_longopt
2827
from .util import check_environ, strtobool, rfc822_escape
2928
from ._log import log
@@ -1190,9 +1189,7 @@ def get_version(self):
11901189
return self.version or "0.0.0"
11911190

11921191
def get_fullname(self):
1193-
return "{}-{}".format(
1194-
canonicalize_name(self.get_name()), canonicalize_version(self.get_version())
1195-
)
1192+
return "{}-{}".format(self.get_name(), self.get_version())
11961193

11971194
def get_author(self):
11981195
return self.author

0 commit comments

Comments
 (0)