-
Notifications
You must be signed in to change notification settings - Fork 43
/
setup.py
62 lines (48 loc) · 1.68 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
# _*_ coding: utf-8 _*_
from os import path
from setuptools import setup, find_packages
from codecs import open
name = "nmc_met_map"
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=['nmc_met_map.egg-info']),
include_package_data=True,
exclude_package_data={'': ['.gitignore']},
install_requires=['numpy>=1.12.1',
'matplotlib==3.2.*',
'pandas>=0.22.0',
'cartopy<=0.17.0',
'nmc_met_graphics>=0.1.0',
'nmc_met_io>=0.1.0',
'metpy <= 0.12.2',
'scipy >= 1.2.1',
'meteva < 1.4.*',
'imageio'],
python_requires='>=3',
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