aboutsummaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2019-08-17 19:14:48 -0700
committerAnthony Sottile <asottile@umich.edu>2019-08-17 19:18:07 -0700
commit43add1d3f5138e38adc4940647cc6eae94fb6123 (patch)
tree5be3b39a6b43a82ddf113b948484d0e1b75458e7 /setup.py
parent2cd2fdcb69426de4bb9d63d638244f4ae6a1ca27 (diff)
downloadexternal_python_setuptools-43add1d3f5138e38adc4940647cc6eae94fb6123.tar.gz
external_python_setuptools-43add1d3f5138e38adc4940647cc6eae94fb6123.tar.bz2
external_python_setuptools-43add1d3f5138e38adc4940647cc6eae94fb6123.zip
Fixes for python3.10
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup.py b/setup.py
index f5030dd6..d97895fc 100755
--- a/setup.py
+++ b/setup.py
@@ -44,7 +44,7 @@ def _gen_console_scripts():
if any(os.environ.get(var) not in (None, "", "0") for var in var_names):
return
tmpl = "easy_install-{shortver} = setuptools.command.easy_install:main"
- yield tmpl.format(shortver=sys.version[:3])
+ yield tmpl.format(shortver='{}.{}'.format(*sys.version_info))
package_data = dict(