-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
43 lines (40 loc) · 1.39 KB
/
setup.py
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
from setuptools import find_packages, setup
with open("README.md", "r") as f:
long_description = f.read()
setup(
name="riot",
description="A simple Python test runner runner.",
url="https://github.com/DataDog/riot",
author="Datadog, Inc.",
author_email="[email protected]",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"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",
],
entry_points={"console_scripts": ["riot = riot.__main__:main"]},
long_description=long_description,
long_description_content_type="text/markdown",
license="Apache 2",
packages=find_packages(exclude=["tests*"]),
package_data={"riot": ["py.typed"]},
python_requires=">=3.7",
install_requires=[
"dataclasses; python_version<'3.7'",
"click>=7",
"virtualenv<=20.26.6",
"rich",
"pexpect",
"packaging",
"setuptools; python_version>='3.12'",
],
setup_requires=["setuptools_scm"],
use_scm_version=True,
# Required for mypy compatibility, see
# https://mypy.readthedocs.io/en/stable/installed_packages.html#making-pep-561-compatible-packages
zip_safe=False,
)