-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathsetup.py
54 lines (50 loc) · 1.7 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
# -*- coding: utf-8 -*-
"""
suggested by bugsuse(https://github.com/bugsuse)
"""
from setuptools import find_packages, setup
import sys, os
from Cython.Build import cythonize
import numpy
parent_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(parent_dir)
DISTNAME = "pycwr"
AUTHOR = "pycwr developers"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/YvZheng/pycwr"
LICENSE='MIT'
PYTHON_REQUIRES = ">=3.8"
INSTALL_REQUIRES = ["matplotlib", "cython", "pyproj", "Cartopy", "xarray","numpy",\
"scipy", "pandas", "netCDF4", 'easydict']
DESCRIPTION = "China Weather Radar tools"
LONG_DESCRIPTION = """The Weather Radar Toolkit, support most of China's radar formats
(WSR98D, CINRAD/SA/SB/CB, CINRAD/CC/CCJ, CINRAD/SC/CD)"""
PLATFORMS = ["Linux", "Mac OS-X", "Windows"]
CLASSIFIERS = [
'Development Status :: 1 - Planning',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Atmospheric Science',
"Operating System :: OS Independent",]
setup(
name=DISTNAME,
version="0.4.0",
author=AUTHOR,
license=LICENSE,
author_email=AUTHOR_EMAIL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
python_requires=PYTHON_REQUIRES,
install_requires=INSTALL_REQUIRES,
url=URL,
platforms=PLATFORMS,
classifiers=CLASSIFIERS,
include_package_data = True,
packages=find_packages(parent_dir),
ext_modules=cythonize('./pycwr/core/RadarGridC.pyx'),
include_dirs=[numpy.get_include()]
)