forked from gotcha/ipdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (52 loc) · 1.8 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Copyright (c) 2007-2016 Godefroid Chapelle and ipdb development team
#
# This file is part of ipdb.
# Redistributable under the revised BSD license
# https://opensource.org/licenses/BSD-3-Clause
from setuptools import setup, find_packages
from sys import version_info
version = '0.11.1.dev0'
long_description = (open('README.rst').read() +
'\n\n' + open('HISTORY.txt').read())
if version_info[0] == 2:
console_script = 'ipdb'
else:
console_script = 'ipdb%d' % version_info.major
setup(name='ipdb',
version=version,
description="IPython-enabled pdb",
long_description=long_description,
classifiers=[
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Topic :: Software Development :: Debuggers',
],
keywords='pdb ipython',
author='Godefroid Chapelle',
author_email='[email protected]',
url='https://github.com/gotcha/ipdb',
license='BSD',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=True,
test_suite='tests',
python_requires=">=2.7",
install_requires=[
'setuptools'
],
extras_require={
':python_version == "2.7"': ['ipython >= 5.0.0, < 6.0.0'],
# No support for python 3.0, 3.1, 3.2.
':python_version >= "3.3"': ['ipython >= 5.0.0'],
},
entry_points={
'console_scripts': ['%s = ipdb.__main__:main' % console_script]
},
use_2to3=True,
)