| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 12a31f6 commit 8c11b56
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,10 +9,6 @@ | |||
| 9 | 9 | from distutils.command.build import build | |
| 10 | 10 | from setuptools import setup | |
| 11 | 11 | from 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 | ||
| 16 | 12 | ||
| 17 | 13 | from bpython import __version__, package_dir | |
| 18 | 14 | ||
@@ -44,7 +40,7 @@ def run(self): | |||
| 44 | 40 | self.run_command('build') | |
| 45 | 41 | _install.run(self) | |
| 46 | 42 | ||
| 47 | - cmdclass = dict(build_py=build_py, build=build, install=install) | ||
| 43 | + cmdclass = dict(build=build, install=install) | ||
| 48 | 44 | translations_dir = os.path.join(package_dir, 'translations') | |
| 49 | 45 | ||
| 50 | 46 | # localization options | |
@@ -194,7 +190,8 @@ def initialize_options(self): | |||
| 194 | 190 | }, | |
| 195 | 191 | entry_points = entry_points, | |
| 196 | 192 | cmdclass = cmdclass, | |
| 197 | - test_suite = 'bpython.test' | ||
| 193 | + test_suite = 'bpython.test', | ||
| 194 | + use_2to3 = True | ||
| 198 | 195 | ) | |
| 199 | 196 | ||
| 200 | 197 | # vim: fileencoding=utf-8 sw=4 ts=4 sts=4 ai et sta | |
| Back | FazBrowse Home | New Git URL |
0 commit comments