-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
42 lines (36 loc) · 1.26 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
import setuptools
import daltonize
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="daltonize", # Replace with your own username
version=daltonize.__version__,
author="Jörg Dietrich",
author_email="[email protected]",
description="simulate and correct for color blindness in matplotlib figures and images",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/joergdietrich/daltonize",
packages=setuptools.find_packages(),
classifiers=[
'Programming Language :: Python :: 3',
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=[
'numpy>=1.9',
'Pillow',
],
extras_require={
'test': ['matplotlib>=3.0.0',
'pytest'],
},
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target
# platform.
entry_points={
'console_scripts': ['daltonize=daltonize.daltonize:main'],
},
)