-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
64 lines (59 loc) · 2.8 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
#!/usr/bin/env python
import os
import re
from setuptools import find_packages, setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'geometric_features', 'version.py')) as f:
init_file = f.read()
version = re.search(r'{}\s*=\s*[(]([^)]*)[)]'.format('__version_info__'),
init_file).group(1).replace(', ', '.')
setup(name='geometric_features',
version=version,
description='Tools for manipulating regions, transects, and points '
'in geojson format associated with climate modeling.',
url='https://github.com/MPAS-Dev/geometric_features',
author='MPAS-Analysis Developers',
author_email='[email protected]',
license='BSD',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
'Topic :: Scientific/Engineering',
],
packages=find_packages(include=['geometric_features',
'geometric_features.*']),
package_data={'geometric_features': ['features_and_tags.json']},
install_requires=['numpy',
'matplotlib',
'cartopy',
'shapely >=2.0,<3.0',
'requests',
'progressbar2'],
entry_points={'console_scripts':
['combine_features = '
'geometric_features.__main__:combine_features',
'difference_features = '
'geometric_features.__main__:difference_features',
'fix_features_at_antimeridian = '
'geometric_features.__main__:fix_features_at_antimeridian', # noqa: E501
'merge_features = '
'geometric_features.__main__:merge_features',
'plot_features = '
'geometric_features.__main__:plot_features',
'set_group_name = '
'geometric_features.__main__:set_group_name',
'simplify_features = '
'geometric_features.__main__:simplify_features',
'split_features = '
'geometric_features.__main__:split_features',
'tag_features = '
'geometric_features.__main__:tag_features']})