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
|
"""Flexmock setup.py."""
from setuptools import setup
with open("README.md", encoding="utf-8") as file:
long_description = file.read()
VERSION = "0.13.0"
setup(
name="flexmock",
version=VERSION,
author="Slavek Kabrda, Herman Sheremetyev",
author_email="slavek@redhat.com",
url="https://flexmock.readthedocs.io/",
project_urls={
"Documentation": "https://flexmock.readthedocs.io/",
"Changes": "https://flexmock.readthedocs.io/en/latest/changelog/",
"Source Code": "https://github.com/flexmock/flexmock",
"Issue Tracker": "https://github.com/flexmock/flexmock/issues",
},
license="BSD-2-Clause",
description="flexmock is a testing library for Python that makes it easy to create mocks,"
"stubs and fakes.",
long_description=long_description,
long_description_content_type="text/markdown",
keywords="mock testing test unittest pytest",
classifiers=[
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Mocking",
"Topic :: Software Development :: Testing :: Unit",
"Typing :: Typed",
],
python_requires=">=3.10.0,<4.0.0",
packages=["flexmock"],
package_dir={"": "src"},
include_package_data=True,
command_options={
"build_sphinx": {
"version": ("setup.py", VERSION),
"release": ("setup.py", VERSION),
}
},
entry_points={
"pytest11": [
"flexmock = flexmock._pytest_plugin",
],
},
)
|