-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
71 lines (57 loc) · 1.95 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
# _*_ coding: utf-8 _*_
from os import path
from setuptools import setup, find_packages
from codecs import open
name = "metdig"
author = __import__(name).__author__
version = __import__(name).__version__
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# setup
setup(
name=name,
version=version,
description='Weather analysis and diagnostic graphics for map discussion',
long_description=long_description,
# LICENSE
license='GPL3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
],
packages=find_packages(exclude=['metdig.egg-info']),
include_package_data=True,
exclude_package_data={'': ['.gitignore']},
install_requires=[
'cartopy >= 0.22.0',
'nmc_met_io >= 0.1.13.0',
'metpy <= 1.5',
'meteva > 1.3',
'xarray <= 0.19.0 ',
'netcdf4',
'cdsapi >= 0.7.0',
'numba',
'folium',
'pandas<1.5',
'shapely',
'imageio',
'numpy < 2.0',
'protobuf<=3.20',
'ipython',
'pint < 0.20.0',
'scikit_learn',
'JPype1'],
python_requires='>=3.9',
zip_safe = False
)
# development mode (DOS command):
# python setup.py develop
# python setup.py develop --uninstall
# build mode:
# python setup.py build --build-base=D:/test/python/build
# distribution mode:
# python setup.py sdist # create source tar.gz file in /dist
# python setup.py bdist_wheel # create wheel binary in /dist