forked from man-group/pytest-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (42 loc) · 1.26 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
import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
from setuptools import setup
from common_setup import common_setup
classifiers = [
'License :: OSI Approved :: MIT License',
'Development Status :: 5 - Production/Stable',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
'Intended Audience :: Developers',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
install_requires = ['six',
'pytest',
'gprof2dot',
]
tests_require = [
'pytest-virtualenv',
]
entry_points = {
'pytest11': [
'profiling = pytest_profiling',
]
}
if __name__ == '__main__':
kwargs = common_setup('pytest_profiling')
kwargs.update(dict(
name='pytest-profiling',
description='Profiling plugin for py.test',
author='Ed Catmur',
author_email='[email protected]',
classifiers=classifiers,
install_requires=install_requires,
tests_require=tests_require,
py_modules=['pytest_profiling'],
entry_points=entry_points,
))
setup(**kwargs)