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