forked from gak/pycallgraph
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Copy pathsetup.py
executable file
·62 lines (48 loc) · 1.69 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
#!/usr/bin/env python
from setuptools import setup
import sys
from setuptools.command.test import test as testcommand
import pycallgraph2
data_files = None
class PyTest(testcommand):
def finalize_options(self):
testcommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
with open('README.md', 'r') as f:
long_description = f.read()
setup(
name='pycallgraph2',
version=pycallgraph2.__version__,
description='Python Call Graph is a Python module that creates call graph visualizations for Python applications.',
long_description=long_description,
long_description_content_type='text/markdown',
author=pycallgraph2.__author__,
license='GNU GPLv2',
url=pycallgraph2.__url__,
packages=['pycallgraph2', 'pycallgraph2.output'],
scripts=['scripts/pycallgraph'],
data_files=data_files,
use_2to3=True,
# Testing
tests_require=['pytest'],
cmdclass={'test': PyTest},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Debuggers',
]
)