-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
71 lines (66 loc) · 1.83 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
#!/usr/bin/env python
import io
from setuptools import find_packages, setup # type: ignore
from kontrasto import (
__author__,
__author_email__,
__copyright__,
__description__,
__license__,
__name__,
__url__,
__version__,
)
with io.open("README.md", encoding="utf-8") as readme_file:
long_description = readme_file.read()
setup(
name=__name__,
version=__version__,
description=__description__,
long_description=long_description,
long_description_content_type="text/markdown",
url=__url__,
author=__author__,
author_email=__author_email__,
license=__license__,
copyright=__copyright__,
packages=find_packages(exclude=["tests*"]),
include_package_data=True,
package_data={"kontrasto": ["py.typed"]},
keywords=[
"kontrasto",
"color",
"colour",
"contrast",
"contrast-ratio",
"dominant colors",
"accessibility",
"a11y",
"wcag2",
"wcag3",
"apca",
"django",
"wagtail",
"numpy",
],
project_urls={
"Demo": "https://kontrasto.netlify.app/",
"Documentation": __url__,
},
python_requires=">=3.6",
install_requires=["numpy", "Pillow"],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Typing :: Typed",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
entry_points={"console_scripts": ["kontrasto=kontrasto.cli:main"]},
)