-
Notifications
You must be signed in to change notification settings - Fork 14
/
setup.py
79 lines (73 loc) · 2.5 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages
from setuptools import setup
def read(fname):
file_path = os.path.join(os.path.dirname(__file__), fname)
with open(file_path, encoding="utf-8") as file_handle:
return file_handle.read()
requirements = ["pytest>=4.0.0"]
setup(
name="pytest-subprocess",
version="1.5.2",
author="Andrzej Klajnert",
author_email="[email protected]",
maintainer="Andrzej Klajnert",
maintainer_email="[email protected]",
license="MIT",
project_urls={
"Documentation": "https://pytest-subprocess.readthedocs.io",
"Source": "https://github.com/aklajnert/pytest-subprocess",
"Tracker": "https://github.com/aklajnert/pytest-subprocess/issues",
},
description="A plugin to fake subprocess for pytest",
long_description=read("README.rst") + "\n" + read("HISTORY.rst"),
python_requires=">=3.6",
install_requires=requirements,
extras_require={
"test": [
"pytest>=4.0",
"coverage",
"docutils>=0.12",
"Pygments>=2.0",
"pytest-rerunfailures",
"pytest-asyncio>=0.15.1",
"pytest-timeout",
"anyio",
],
"dev": ["nox", "changelogd"],
"docs": [
"sphinx",
"furo",
"sphinxcontrib-napoleon",
"sphinx-autodoc-typehints",
"changelogd",
],
},
packages=find_packages(exclude=["docs", "tests"]),
package_data={"pytest_subprocess": ["py.typed"]},
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 :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
entry_points={
"pytest11": [
"pytest-subprocess = pytest_subprocess.fixtures",
],
},
)