1 Star 0 Fork 16

hldqxt/PyCINRAD

forked from wjjpro/PyCINRAD 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
CyanideCN 提交于 2019-11-22 23:23 . Bump version to 1.5
from setuptools import setup, find_packages
import os
from os.path import join
import glob
try:
from Cython.Build import cythonize
import numpy as np
ext_modules = cythonize(
[join("cinrad", "_utils.pyx"), join("cinrad", "correct", "_unwrap_2d.pyx")]
)
include_dirs = [np.get_include()]
except ImportError:
ext_modules = None
include_dirs = None
data_pth = join("cinrad", "data")
setup(
name="cinrad",
version="1.5",
description="Decode CINRAD radar data and visualize",
long_description="Decode CINRAD radar data and visualize",
license="GPL Licence",
author="Puyuan Du",
author_email="[email protected]",
packages=find_packages(),
include_package_data=True,
platforms="Windows",
python_requires=">=3.5",
install_requires=[
"metpy>=0.8",
"cartopy>=0.15",
"pyshp!=2.0.0, !=2.0.1",
"matplotlib>=2.2",
"vanadis",
],
data_files=[
(
data_pth,
[join(data_pth, "RadarStation.pickle"), join(data_pth, "chinaCity.json")],
),
(join(data_pth, "colormap"), glob.glob(join(data_pth, "colormap", "*.cmap"))),
(join(data_pth, "shapefile"), glob.glob(join(data_pth, "shapefile", "*"))),
(join(data_pth, "font"), glob.glob(join(data_pth, "font", "*"))),
],
scripts=[],
ext_modules=ext_modules,
include_dirs=include_dirs,
entry_points={"console_scripts": ["test = test.help:main"]},
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hldqxt/PyCINRAD.git
[email protected]:hldqxt/PyCINRAD.git
hldqxt
PyCINRAD
PyCINRAD
master

搜索帮助