2008-10-15 02:58:17 -03:00
|
|
|
|
# -*- coding: iso-8859-1 -*-
|
|
|
|
|
from distutils.core import setup
|
|
|
|
|
|
|
|
|
|
try:
|
|
|
|
|
from distutils.command.build_py import build_py_2to3 as build_py
|
|
|
|
|
except ImportError:
|
|
|
|
|
from distutils.command.build_py import build_py
|
|
|
|
|
|
2008-12-01 00:38:52 -04:00
|
|
|
|
try:
|
|
|
|
|
from distutils.command.build_scripts import build_scripts_2to3 as build_scripts
|
|
|
|
|
except ImportError:
|
|
|
|
|
from distutils.command.build_scripts import build_scripts
|
|
|
|
|
|
2008-10-15 02:58:17 -03:00
|
|
|
|
setup(
|
|
|
|
|
name = "test2to3",
|
|
|
|
|
version = "1.0",
|
|
|
|
|
description = "2to3 distutils test package",
|
|
|
|
|
author = "Martin v. L<>wis",
|
|
|
|
|
author_email = "python-dev@python.org",
|
|
|
|
|
license = "PSF license",
|
|
|
|
|
packages = ["test2to3"],
|
2008-12-01 00:38:52 -04:00
|
|
|
|
scripts = ["maintest.py"],
|
2009-03-30 21:33:15 -03:00
|
|
|
|
cmdclass = {'build_py': build_py,
|
|
|
|
|
'build_scripts': build_scripts,
|
2008-12-01 00:38:52 -04:00
|
|
|
|
}
|
2008-10-15 02:58:17 -03:00
|
|
|
|
)
|