»Core Development>Code coverage>Tools/test2to3/setup.py

Python code coverage for Tools/test2to3/setup.py

#countcontent
1n/a# -*- coding: iso-8859-1 -*-
2n/afrom distutils.core import setup
3n/a
4n/atry:
5n/a from distutils.command.build_py import build_py_2to3 as build_py
6n/aexcept ImportError:
7n/a from distutils.command.build_py import build_py
8n/a
9n/atry:
10n/a from distutils.command.build_scripts import build_scripts_2to3 as build_scripts
11n/aexcept ImportError:
12n/a from distutils.command.build_scripts import build_scripts
13n/a
14n/asetup(
15n/a name = "test2to3",
16n/a version = "1.0",
17n/a description = "2to3 distutils test package",
18n/a author = "Martin v. Löwis",
19n/a author_email = "python-dev@python.org",
20n/a license = "PSF license",
21n/a packages = ["test2to3"],
22n/a scripts = ["maintest.py"],
23n/a cmdclass = {'build_py': build_py,
24n/a 'build_scripts': build_scripts,
25n/a }
26n/a)