forked from cs01/pygdbmi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
60 lines (50 loc) · 1.71 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
import sys
import re
from setuptools import find_packages, setup, Command
from pygdbmi.tests import test_app
EXCLUDE_FROM_PACKAGES = []
readme = open('README.rst', 'r').read()
with open('pygdbmi/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
class TestCommand (Command):
description = 'test task'
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
sys.exit(test_app.main())
setup(
name='pygdbmi',
version=version,
author='Chad Smith',
author_email='grassfedcode@gmail.com',
description=('Parse gdb machine interface output with Python'),
long_description=readme,
url='https://github.com/cs01/pygdbmi',
license='MIT',
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,
keywords=['gdb', 'python', 'machine-interface', 'parse', 'frontend'],
scripts=[],
entry_points={},
extras_require={},
zip_safe=False,
cmdclass={'test': TestCommand},
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)