-
Notifications
You must be signed in to change notification settings - Fork 52
/
setup.py
52 lines (46 loc) · 1.47 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
#!/usr/bin/env python
"""
setup.py for cmocean
"""
import sys
from setuptools import setup # to support "develop" mode
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.verbose = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
extras_require={
'plots': ["colorspacious", "viscm"],
}
# # in case I add more later
# extras_require['complete'] = sorted(set(sum(extras_require.values(), [])))
setup(
name = "cmocean",
version = "v4.0.3",
author = "Kristen Thyng",
author_email = "[email protected]",
url = 'https://github.com/matplotlib/cmocean',
# download_url = 'https://github.com/matplotlib/cmocean/tarball/2.0',
description = ("Colormaps for Oceanography"),
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 3 - Alpha",
],
package_data={
'cmocean': ['rgb/*.txt', 'rgb/inverted/*.txt'],
},
packages = ["cmocean"],
ext_package='cmocean',
scripts = [],
keywords = ['colormaps', 'oceanography', 'plotting', 'visualization'],
setup_requires=['setuptools'],
install_requires=['matplotlib', 'numpy', 'packaging'],
tests_require=['pytest'],
python_requires=">=3.8",
extras_require=extras_require
)