| 1 | import io |
| 2 | |
| 3 | from setuptools import find_packages |
| 4 | from setuptools import setup |
| 5 | |
| 6 | with io.open("README.md", encoding="UTF-8") as fp: |
| 7 | long_description = fp.read() |
| 8 | |
| 9 | |
| 10 | setup( |
| 11 | name="pytest-datadir", |
| 12 | use_scm_version={"write_to": "src/pytest_datadir/_version.py"}, |
| 13 | packages=find_packages(where="src"), |
| 14 | entry_points={ |
| 15 | "pytest11": ["pytest-datadir = pytest_datadir.plugin"], |
| 16 | }, |
| 17 | package_dir={"": "src"}, |
| 18 | setup_requires=[ |
| 19 | "setuptools_scm; python_version>'3.6'", |
| 20 | "setuptools_scm <7.0; python_version=='3.6'", |
| 21 | ], |
| 22 | install_requires=["pytest>=5.0"], |
| 23 | author="Gabriel Reis", |
| 24 | author_email="[email protected]", |
| 25 | description="pytest plugin for test data directories and files", |
| 26 | long_description=long_description, |
| 27 | long_description_content_type="text/markdown", |
| 28 | license="MIT", |
| 29 | keywords="pytest test unittest directory file", |
| 30 | url="http://github.com/gabrielcnr/pytest-datadir", |
| 31 | python_requires=">=3.6", |
| 32 | classifiers=[ |
| 33 | "Development Status :: 5 - Production/Stable", |
| 34 | "Intended Audience :: Developers", |
| 35 | "License :: OSI Approved :: MIT License", |
| 36 | "Operating System :: OS Independent", |
| 37 | "Programming Language :: Python :: 3.6", |
| 38 | "Programming Language :: Python :: 3.7", |
| 39 | "Programming Language :: Python :: 3.8", |
| 40 | "Programming Language :: Python :: 3.9", |
| 41 | "Programming Language :: Python :: 3.10", |
| 42 | "Topic :: Software Development :: Quality Assurance", |
| 43 | "Topic :: Software Development :: Testing", |
| 44 | ], |
| 45 | ) |