forked from sixty-north/cosmic-ray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
90 lines (85 loc) · 2.98 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
"""Setup for Cosmic Ray.
"""
from pathlib import Path
from setuptools import setup, find_packages
INSTALL_REQUIRES = [
"aiohttp",
"anybadge",
"astunparse",
"click",
"decorator",
"exit_codes",
"gitpython",
"parso",
"qprompt",
"rich",
"sqlalchemy",
"stevedore",
"toml",
"yattag",
]
setup(
name="cosmic_ray",
version="8.3.7",
packages=find_packages("src"),
author="Sixty North AS",
author_email="[email protected]",
description="Mutation testing",
license="MIT License",
keywords="testing",
package_dir={"": "src"},
url="http://github.com/sixty-north/cosmic-ray",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Testing",
],
python_requires=">=3.7",
platforms="any",
include_package_data=True,
install_requires=INSTALL_REQUIRES,
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
"test": ["hypothesis", "pytest", "pytest-mock"],
"dev": ["flake8", "black", "bumpversion", "twine"],
"docs": ["sphinx", "sphinx_rtd_theme"],
},
entry_points={
"console_scripts": [
"cosmic-ray = cosmic_ray.cli:main",
"cr-html = cosmic_ray.tools.html:report_html",
"cr-report = cosmic_ray.tools.report:report",
"cr-badge = cosmic_ray.tools.badge:generate_badge",
"cr-rate = cosmic_ray.tools.survival_rate:format_survival_rate",
"cr-xml = cosmic_ray.tools.xml:report_xml",
"cr-filter-operators = cosmic_ray.tools.filters.operators_filter:main",
"cr-filter-pragma = cosmic_ray.tools.filters.pragma_no_mutate:main",
"cr-filter-git = cosmic_ray.tools.filters.git:main",
"cr-http-workers = cosmic_ray.tools.http_workers:main",
],
"cosmic_ray.test_runners": [
"unittest = cosmic_ray.testing.unittest_runner:UnittestRunner",
],
"cosmic_ray.operator_providers": [
"core = cosmic_ray.operators.provider:OperatorProvider",
],
"cosmic_ray.distributors": [
"http = cosmic_ray.distribution.http:HttpDistributor",
"local = cosmic_ray.distribution.local:LocalDistributor",
],
},
long_description=Path("README.rst").read_text(encoding="utf-8"),
)