-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
59 lines (55 loc) · 1.75 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
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup, find_namespace_packages
# Get README and remove badges.
README = open('README.md').read()
README = re.sub('----.*marker', '----', README, flags=re.DOTALL)
DESCRIPTION = (
"""
A convenient package to read GMT style cpt-files to matplotlib cmaps
and mimic the dynamic scaling around a hinge point.
"""
)
KEYWORDS = [
'cmap', 'colormap', 'matplotlib', 'pyplot',
'GMT', 'generic mapping tools', 'makecpt', 'color pallet table'
]
setup(
name='cmaptools',
python_requires='>3.7.0',
description=DESCRIPTION,
long_description=README,
author=[
'Shahar Shani-Kadmiel'
],
author_email='s.shanikadmiel@tudelft.nl',
url='https://github.com/shaharkadmiel/cmaptools',
download_url='https://github.com/shaharkadmiel/cmaptools.git',
license='GNU General Public License v3 (GPLv3)',
packages=find_namespace_packages(include=['cmaptools.*']),
keywords=KEYWORDS,
entry_points={},
scripts=[],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering',
'Operating System :: OS Independent'
],
install_requires=[
'numpy',
'matplotlib>=3.1.0'
],
use_scm_version={
'root': '.',
'relative_to': __file__,
'write_to': os.path.join('cmaptools', 'version.py'),
},
setup_requires=['setuptools_scm'],
)