|
1 | 1 | """Setuptools install script for pytest-timeout."""
|
2 | 2 | from setuptools import setup
|
3 | 3 |
|
4 |
| -with open("README.rst", encoding="utf-8") as f: |
5 |
| - long_description = f.read() |
6 |
| - |
7 |
| - |
8 |
| -setup( |
9 |
| - name="pytest-timeout", |
10 |
| - description="pytest plugin to abort hanging tests", |
11 |
| - long_description=long_description, |
12 |
| - version="2.1.0", |
13 |
| - author="Floris Bruynooghe", |
14 |
| - |
15 |
| - url="https://github.com/pytest-dev/pytest-timeout", |
16 |
| - license="MIT", |
17 |
| - py_modules=["pytest_timeout"], |
18 |
| - entry_points={"pytest11": ["timeout = pytest_timeout"]}, |
19 |
| - install_requires=["pytest>=5.0.0"], |
20 |
| - python_requires=">=3.7", |
21 |
| - classifiers=[ |
22 |
| - "Development Status :: 5 - Production/Stable", |
23 |
| - "Environment :: Console", |
24 |
| - "Environment :: Plugins", |
25 |
| - "Intended Audience :: Developers", |
26 |
| - "License :: DFSG approved", |
27 |
| - "License :: OSI Approved :: MIT License", |
28 |
| - "Operating System :: OS Independent", |
29 |
| - "Programming Language :: Python", |
30 |
| - "Programming Language :: Python :: Implementation :: PyPy", |
31 |
| - "Programming Language :: Python :: Implementation :: CPython", |
32 |
| - "Programming Language :: Python :: 3", |
33 |
| - "Programming Language :: Python :: 3 :: Only", |
34 |
| - "Programming Language :: Python :: 3.7", |
35 |
| - "Programming Language :: Python :: 3.8", |
36 |
| - "Programming Language :: Python :: 3.9", |
37 |
| - "Programming Language :: Python :: 3.10", |
38 |
| - "Programming Language :: Python :: 3.11", |
39 |
| - "Topic :: Software Development :: Testing", |
40 |
| - "Framework :: Pytest", |
41 |
| - ], |
42 |
| -) |
| 4 | +if __name__ == "__main__": |
| 5 | + setup() |
0 commit comments