-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This enables building/installing without using deprecated setup.py (but setup.py is still available).
- Loading branch information
Showing
3 changed files
with
44 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[build-system] | ||
requires = ["setuptools"] | ||
build-backend = "setuptools.build_meta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
[metadata] | ||
name = pytest-timeout | ||
description = pytest plugin to abort hanging tests | ||
long_description = file: README.rst | ||
version = 2.1.0 | ||
author = Floris Bruynooghe | ||
author_email = flub@devork.be | ||
url = https://github.com/pytest-dev/pytest-timeout | ||
license = MIT | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Console | ||
Environment :: Plugins | ||
Intended Audience :: Developers | ||
License :: DFSG approved | ||
License :: OSI Approved :: MIT License | ||
Operating System :: OS Independent | ||
Programming Language :: Python | ||
Programming Language :: Python :: Implementation :: PyPy | ||
Programming Language :: Python :: Implementation :: CPython | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
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 | ||
Topic :: Software Development :: Testing | ||
Framework :: Pytest | ||
|
||
[options] | ||
py_modules = pytest_timeout | ||
install_requires = | ||
pytest>=5.0.0 | ||
python_requires = >=3.7 | ||
|
||
[options.entry_points] | ||
pytest11 = | ||
timeout = pytest_timeout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,5 @@ | ||
"""Setuptools install script for pytest-timeout.""" | ||
from setuptools import setup | ||
|
||
with open("README.rst", encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
|
||
setup( | ||
name="pytest-timeout", | ||
description="pytest plugin to abort hanging tests", | ||
long_description=long_description, | ||
version="2.1.0", | ||
author="Floris Bruynooghe", | ||
author_email="flub@devork.be", | ||
url="https://github.com/pytest-dev/pytest-timeout", | ||
license="MIT", | ||
py_modules=["pytest_timeout"], | ||
entry_points={"pytest11": ["timeout = pytest_timeout"]}, | ||
install_requires=["pytest>=5.0.0"], | ||
python_requires=">=3.7", | ||
classifiers=[ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Console", | ||
"Environment :: Plugins", | ||
"Intended Audience :: Developers", | ||
"License :: DFSG approved", | ||
"License :: OSI Approved :: MIT License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"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", | ||
"Topic :: Software Development :: Testing", | ||
"Framework :: Pytest", | ||
], | ||
) | ||
if __name__ == "__main__": | ||
setup() |