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