1from setuptools import setup, find_packages
2
3install_requires = ["execnet>=1.1", "pytest>=4.4.0", "pytest-forked", "six"]
4
5
6with open("README.rst") as f:
7    long_description = f.read()
8
9setup(
10    name="pytest-xdist",
11    use_scm_version={"write_to": "src/xdist/_version.py"},
12    description="pytest xdist plugin for distributed testing"
13    " and loop-on-failing modes",
14    long_description=long_description,
15    license="MIT",
16    author="holger krekel and contributors",
17    author_email="pytest-dev@python.org,holger@merlinux.eu",
18    url="https://github.com/pytest-dev/pytest-xdist",
19    platforms=["linux", "osx", "win32"],
20    packages=find_packages(where="src"),
21    package_dir={"": "src"},
22    extras_require={"testing": ["filelock"]},
23    entry_points={
24        "pytest11": ["xdist = xdist.plugin", "xdist.looponfail = xdist.looponfail"]
25    },
26    zip_safe=False,
27    python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
28    install_requires=install_requires,
29    setup_requires=["setuptools_scm"],
30    classifiers=[
31        "Development Status :: 5 - Production/Stable",
32        "Framework :: Pytest",
33        "Intended Audience :: Developers",
34        "License :: OSI Approved :: MIT License",
35        "Operating System :: POSIX",
36        "Operating System :: Microsoft :: Windows",
37        "Operating System :: MacOS :: MacOS X",
38        "Topic :: Software Development :: Testing",
39        "Topic :: Software Development :: Quality Assurance",
40        "Topic :: Utilities",
41        "Programming Language :: Python",
42        "Programming Language :: Python :: 2",
43        "Programming Language :: Python :: 2.7",
44        "Programming Language :: Python :: 3",
45        "Programming Language :: Python :: 3.5",
46        "Programming Language :: Python :: 3.6",
47        "Programming Language :: Python :: 3.7",
48        "Programming Language :: Python :: 3.8",
49    ],
50)
51