forked from pdbpp/pdbpp
/
setup.py
68 lines (63 loc) · 2.17 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
60
61
62
63
64
65
66
67
68
import os.path
from sysconfig import get_path
from setuptools import setup
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
changelog_path = os.path.join(os.path.dirname(__file__), "CHANGELOG")
with open(readme_path, encoding="utf-8") as fh:
readme = fh.read()
with open(changelog_path, encoding="utf-8") as fh:
changelog = fh.read()
long_description = readme + "\n\n" + changelog
setup(
name="pdbpp",
use_scm_version=True,
author="Antonio Cuni",
author_email="anto.cuni@gmail.com",
package_dir={"": "src"},
url="https://github.com/pdbpp/pdbpp",
project_urls={
"Bug Tracker": "https://github.com/pdbpp/pdbpp/issues",
"Source Code": "https://github.com/pdbpp/pdbpp",
},
license="BSD",
platforms=["unix", "linux", "osx", "cygwin", "win32"],
description="pdb++, a drop-in replacement for pdb",
long_description=long_description,
keywords=["pdb", "debugger", "tab", "color", "completion"],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
"Topic :: Utilities",
"Topic :: Software Development :: Debuggers",
],
install_requires=[
"fancycompleter @ git+https://github.com/bretello/fancycompleter@0.10.5", # noqa: E501
"pygments",
],
extras_require={
"testing": [
"pytest",
"pytest-cov",
"ipython",
"pexpect",
],
},
setup_requires=["setuptools_scm"],
data_files=[
(
os.path.relpath(get_path("purelib"), get_path("data")),
["pdbpp_hijack_pdb.pth"],
),
],
)