diff options
author | Anthony Sottile <asottile@umich.edu> | 2019-08-17 19:14:48 -0700 |
---|---|---|
committer | Anthony Sottile <asottile@umich.edu> | 2019-08-17 19:18:07 -0700 |
commit | 43add1d3f5138e38adc4940647cc6eae94fb6123 (patch) | |
tree | 5be3b39a6b43a82ddf113b948484d0e1b75458e7 /setuptools/command/bdist_egg.py | |
parent | 2cd2fdcb69426de4bb9d63d638244f4ae6a1ca27 (diff) | |
download | python-setuptools-git-43add1d3f5138e38adc4940647cc6eae94fb6123.tar.gz |
Fixes for python3.10
Diffstat (limited to 'setuptools/command/bdist_egg.py')
-rw-r--r-- | setuptools/command/bdist_egg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/command/bdist_egg.py b/setuptools/command/bdist_egg.py index 9f8df917..98470f17 100644 --- a/setuptools/command/bdist_egg.py +++ b/setuptools/command/bdist_egg.py @@ -284,7 +284,7 @@ class bdist_egg(Command): "or refer to a module" % (ep,) ) - pyver = sys.version[:3] + pyver = '{}.{}'.format(*sys.version_info) pkg = ep.module_name full = '.'.join(ep.attrs) base = ep.attrs[0] |