pytest-mock/setup.py
2023-11-13 00:36:04 +01:00

48 lines
1.9 KiB
Python

from setuptools import find_packages
from setuptools import setup
setup(
name="pytest-mock",
entry_points={"pytest11": ["pytest_mock = pytest_mock"]},
packages=find_packages(where="src"),
package_dir={"": "src"},
platforms="any",
package_data={
"pytest_mock": ["py.typed"],
},
python_requires=">=3.8",
install_requires=["pytest>=5.0"],
use_scm_version={"write_to": "src/pytest_mock/_version.py"},
setup_requires=["setuptools_scm"],
url="https://github.com/pytest-dev/pytest-mock/",
license="MIT",
author="Bruno Oliveira",
author_email="nicoddemus@gmail.com",
description="Thin-wrapper around the mock package for easier use with pytest",
long_description=open("README.rst", encoding="utf-8").read(),
long_description_content_type="text/x-rst",
keywords="pytest mock",
extras_require={"dev": ["pre-commit", "tox", "pytest-asyncio"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: Pytest",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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 :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Testing",
],
project_urls={
"Documentation": "https://pytest-mock.readthedocs.io/en/latest/",
"Changelog": "https://pytest-mock.readthedocs.io/en/latest/changelog.html",
"Source": "https://github.com/pytest-dev/pytest-mock/",
"Tracker": "https://github.com/pytest-dev/pytest-mock/issues",
},
)