Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
logilab-mtconverter
Commits
c64b5821e873
Commit
f4e0970f
authored
Nov 10, 2014
by
Julien Cristau
Browse files
[pkg] stop running 2to3
We can run natively on python3.3+ now.
parent
9a4566938766
Changes
1
Hide whitespace changes
Inline
Side-by-side
setup.py
View file @
c64b5821
...
...
@@ -38,13 +38,6 @@ except ImportError:
from
distutils.command
import
install_lib
USE_SETUPTOOLS
=
0
try
:
# python3
from
distutils.command.build_py
import
build_py_2to3
as
build_py
except
ImportError
:
# python2.x
from
distutils.command.build_py
import
build_py
sys
.
modules
.
pop
(
'__pkginfo__'
,
None
)
# import optional features
__pkginfo__
=
__import__
(
"__pkginfo__"
)
...
...
@@ -161,8 +154,7 @@ def install(**kwargs):
scripts
=
ensure_scripts
(
scripts
),
data_files
=
data_files
,
ext_modules
=
ext_modules
,
cmdclass
=
{
'install_lib'
:
MyInstallLib
,
'build_py'
:
build_py
},
cmdclass
=
{
'install_lib'
:
MyInstallLib
},
**
kwargs
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment