This reverts commit 4f913f6d7d4cb0bd5d6e4e09b322a4382c72badc, in accordance with the decision [1] to not use 2to3. [1] https://github.com/inducer/pudb/pull/1
57 lines
1.7 KiB
Python
Executable File
57 lines
1.7 KiB
Python
Executable File
#!/usr/bin/env python
|
|
|
|
from distribute_setup import use_setuptools
|
|
|
|
use_setuptools()
|
|
|
|
from setuptools import setup
|
|
from pudb import VERSION
|
|
|
|
import sys
|
|
py_version_major = str(sys.version_info[0])
|
|
if py_version_major == 3:
|
|
PY_VERSION = str(py_version_major)
|
|
else:
|
|
PY_VERSION = ''
|
|
|
|
try:
|
|
readme = open("README.rst")
|
|
long_description = str(readme.read())
|
|
finally:
|
|
readme.close()
|
|
|
|
setup(name='pudb',
|
|
version=VERSION,
|
|
description='A full-screen, console-based Python debugger',
|
|
long_description=long_description,
|
|
author='Andreas Kloeckner',
|
|
author_email='inform@tiker.net',
|
|
install_requires=[
|
|
"urwid>=1.1.1",
|
|
"pygments>=1.0",
|
|
],
|
|
url='http://pypi.python.org/pypi/pudb',
|
|
classifiers=[
|
|
"Development Status :: 4 - Beta",
|
|
"Environment :: Console",
|
|
"Environment :: Console :: Curses",
|
|
"Intended Audience :: Developers",
|
|
"License :: OSI Approved :: MIT License",
|
|
"Natural Language :: English",
|
|
"Operating System :: POSIX",
|
|
"Operating System :: Unix",
|
|
"Programming Language :: Python",
|
|
"Programming Language :: Python :: 2",
|
|
"Programming Language :: Python :: 3",
|
|
"Topic :: Software Development",
|
|
"Topic :: Software Development :: Debuggers",
|
|
"Topic :: Software Development :: Quality Assurance",
|
|
"Topic :: System :: Recovery Tools",
|
|
"Topic :: System :: Software Distribution",
|
|
"Topic :: Terminals",
|
|
"Topic :: Utilities",
|
|
],
|
|
packages=["pudb"],
|
|
entry_points={'console_scripts': ['pudb' + PY_VERSION + ' = pudb.run:main'], 'gui_script': []},
|
|
)
|