File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99from distutils .command .build import build
1010from setuptools import setup
1111from setuptools .command .install import install as _install
12- try :
13- from setuptools .command .build_py import build_py_2to3 as build_py
14- except ImportError :
15- from setuptools .command .build_py import build_py
1612
1713from bpython import __version__ , package_dir
1814
@@ -44,7 +40,7 @@ def run(self):
4440 self .run_command ('build' )
4541 _install .run (self )
4642
47- cmdclass = dict (build_py = build_py , build = build , install = install )
43+ cmdclass = dict (build = build , install = install )
4844translations_dir = os .path .join (package_dir , 'translations' )
4945
5046# localization options
@@ -194,7 +190,8 @@ def initialize_options(self):
194190 },
195191 entry_points = entry_points ,
196192 cmdclass = cmdclass ,
197- test_suite = 'bpython.test'
193+ test_suite = 'bpython.test' ,
194+ use_2to3 = True
198195)
199196
200197# vim: fileencoding=utf-8 sw=4 ts=4 sts=4 ai et sta
You can’t perform that action at this time.
0 commit comments