-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
87 lines (78 loc) · 2.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import codecs
from setuptools import (
setup,
find_packages,
)
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
return codecs.open(file_path, encoding='utf-8').read()
install_requires = [
'pytest>=3.0.7',
'pytest-variables[yaml]',
'zope.interface',
'zope.component',
'RestrictedPython>=4.0b2',
'parametrizer>=0.0.3',
]
statsd_require = [
'statsd',
]
tests_require = [
'pytest-cov',
'mock',
'py',
]
docs_require = [
'Sphinx',
'sphinx_rtd_theme',
]
setup(
name='pytest-play',
version='2.3.2.dev0',
author='Davide Moro',
author_email='[email protected]',
maintainer='Davide Moro',
maintainer_email='[email protected]',
license='Apache Software License 2.0',
url='https://github.com/davidemoro/pytest-play',
description='pytest plugin that let you automate actions '
'and assertions with test metrics reporting '
'executing plain YAML files',
long_description=open("README.rst").read() + "\n" +
open("CHANGES.rst").read(),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Pytest',
'Intended Audience :: Developers',
'Topic :: Software Development :: Testing',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Operating System :: OS Independent',
'License :: OSI Approved :: Apache Software License',
],
entry_points={
'playcommands': [
'include = pytest_play.providers:IncludeProvider',
'python = pytest_play.providers:PythonProvider',
'metrics = pytest_play.providers:MetricsProvider',
],
'pytest11': [
'pytest-play = pytest_play.plugin',
],
},
extras_require={
'statsd': statsd_require,
'tests': tests_require,
'docs': docs_require,
},
)