1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
from pathlib import Path
from setuptools import find_packages
from setuptools import setup
def read(fname: str) -> str:
file_path = Path(__file__).parent / fname
return file_path.read_text(encoding="UTF-8")
setup(
name="pytest-regressions",
use_scm_version=True,
setup_requires=["setuptools_scm"],
author="ESSS",
author_email="foss@esss.co",
maintainer="Bruno Oliveira",
maintainer_email="bruno@esss.co",
license="MIT",
url="https://github.com/ESSS/pytest-regressions",
description="Easy to use fixtures to write regression tests.",
long_description=read("README.rst"),
packages=find_packages("src"),
package_dir={"": "src"},
python_requires=">=3.8",
package_data={
"pytest_regressions": ["py.typed"],
},
extras_require={
"dev": [
"matplotlib",
"mypy",
"numpy",
"pandas",
"pillow",
"pre-commit",
"restructuredtext-lint",
"tox",
],
"num": [
"numpy",
"pandas",
],
"image": ["pillow", "numpy"],
"dataframe": ["numpy", "pandas"],
},
install_requires=["pytest-datadir>=1.2.0", "pytest>=6.2.0", "pyyaml"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
entry_points={"pytest11": ["regressions = pytest_regressions.plugin"]},
)
|