Move metadata from setup.py to setup.cfg
Using https://github.com/asottile/setup-py-upgrade Refs #719.
This commit is contained in:
56
setup.cfg
56
setup.cfg
@@ -1,5 +1,61 @@
|
||||
[metadata]
|
||||
name = pytest-xdist
|
||||
description = pytest xdist plugin for distributed testing and loop-on-failing modes
|
||||
long_description = file: README.rst
|
||||
license = MIT
|
||||
author = holger krekel and contributors
|
||||
author_email = pytest-dev@python.org,holger@merlinux.eu
|
||||
url = https://github.com/pytest-dev/pytest-xdist
|
||||
platforms =
|
||||
linux
|
||||
osx
|
||||
win32
|
||||
classifiers =
|
||||
Development Status :: 5 - Production/Stable
|
||||
Framework :: Pytest
|
||||
Intended Audience :: Developers
|
||||
License :: OSI Approved :: MIT License
|
||||
Operating System :: POSIX
|
||||
Operating System :: Microsoft :: Windows
|
||||
Operating System :: MacOS :: MacOS X
|
||||
Topic :: Software Development :: Testing
|
||||
Topic :: Software Development :: Quality Assurance
|
||||
Topic :: Utilities
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
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
|
||||
license_file = LICENSE
|
||||
|
||||
[options]
|
||||
packages = find:
|
||||
package_dir = =src
|
||||
zip_safe = False
|
||||
python_requires = >=3.6
|
||||
install_requires =
|
||||
execnet>=1.1
|
||||
pytest>=6.0.0
|
||||
pytest-forked
|
||||
setup_requires = setuptools_scm
|
||||
|
||||
[options.packages.find]
|
||||
where = src
|
||||
|
||||
[options.entry_points]
|
||||
pytest11 =
|
||||
xdist = xdist.plugin
|
||||
xdist.looponfail = xdist.looponfail
|
||||
|
||||
[options.extras_require]
|
||||
testing =
|
||||
filelock
|
||||
pytest
|
||||
psutil = psutil>=3.0
|
||||
setproctitle = setproctitle
|
||||
|
||||
[flake8]
|
||||
max-line-length = 100
|
||||
|
||||
57
setup.py
57
setup.py
@@ -1,53 +1,6 @@
|
||||
from setuptools import setup, find_packages
|
||||
from setuptools import setup
|
||||
|
||||
install_requires = ["execnet>=1.1", "pytest>=6.0.0", "pytest-forked"]
|
||||
|
||||
|
||||
with open("README.rst") as f:
|
||||
long_description = f.read()
|
||||
|
||||
setup(
|
||||
name="pytest-xdist",
|
||||
use_scm_version={"write_to": "src/xdist/_version.py"},
|
||||
description="pytest xdist plugin for distributed testing and loop-on-failing modes",
|
||||
long_description=long_description,
|
||||
license="MIT",
|
||||
author="holger krekel and contributors",
|
||||
author_email="pytest-dev@python.org,holger@merlinux.eu",
|
||||
url="https://github.com/pytest-dev/pytest-xdist",
|
||||
platforms=["linux", "osx", "win32"],
|
||||
packages=find_packages(where="src"),
|
||||
package_dir={"": "src"},
|
||||
extras_require={
|
||||
"testing": ["filelock"],
|
||||
"psutil": ["psutil>=3.0"],
|
||||
"setproctitle": ["setproctitle"],
|
||||
},
|
||||
entry_points={
|
||||
"pytest11": ["xdist = xdist.plugin", "xdist.looponfail = xdist.looponfail"]
|
||||
},
|
||||
zip_safe=False,
|
||||
python_requires=">=3.6",
|
||||
install_requires=install_requires,
|
||||
setup_requires=["setuptools_scm"],
|
||||
classifiers=[
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Framework :: Pytest",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
"Operating System :: POSIX",
|
||||
"Operating System :: Microsoft :: Windows",
|
||||
"Operating System :: MacOS :: MacOS X",
|
||||
"Topic :: Software Development :: Testing",
|
||||
"Topic :: Software Development :: Quality Assurance",
|
||||
"Topic :: Utilities",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"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",
|
||||
],
|
||||
)
|
||||
if __name__ == "__main__":
|
||||
setup(
|
||||
use_scm_version={"write_to": "src/xdist/_version.py"},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user