remove 2to3 in setup (should be called outside before setup)

pull/3117/head
Sergey G. Brester 2021-09-19 18:36:02 +02:00 committed by GitHub
parent 1414a44b8e
commit 7f22c4873a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 8 deletions

View File

@ -39,14 +39,6 @@ from distutils.command.build_scripts import build_scripts
if setuptools is None:
from distutils.command.install import install
from distutils.command.install_scripts import install_scripts
try:
# python 3.x
from distutils.command.build_py import build_py_2to3
from distutils.command.build_scripts import build_scripts_2to3
_2to3 = True
except ImportError:
# python 2.x
_2to3 = False
import os
from os.path import isfile, join, isdir, realpath