forked from man-group/pytest-plugins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
52 lines (46 loc) · 1.53 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
import sys
import os
sys.path.append(os.path.dirname(os.path.dirname(__file__)))
from setuptools import setup, find_packages
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',
'execnet',
'contextlib2;python_version<"3"',
'pytest',
'path; python_version >= "3.5"',
'path.py; python_version < "3.5"',
'mock; python_version<"3.3"',
'termcolor'
]
tests_require = ['pytest',
]
entry_points = {
'pytest11': [
'workspace = pytest_shutil.workspace',
]
}
if __name__ == '__main__':
kwargs = common_setup('pytest_shutil')
kwargs.update(dict(
name='pytest-shutil',
description='A goodie-bag of unix shell and environment tools for py.test',
author='Edward Easton',
author_email='[email protected]',
classifiers=classifiers,
install_requires=install_requires,
tests_require=tests_require,
packages=find_packages(exclude='tests'),
entry_points=entry_points,
))
setup(**kwargs)