加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.py 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
NMC-DAVE 提交于 2019-09-09 11:26 . Refactory the project.
# _*_ coding: utf-8 _*_
from os import path
from setuptools import find_packages, setup
from codecs import open
name = 'nmc_tool_eccodes'
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(
name=name,
version=version,
description='Calling the eccodes tools in Windows.',
long_description=long_description,
# author
author=author,
author_email='kan.dai@foxmail.com',
# LICENSE
license='GPL3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
],
packages=find_packages(exclude=['tests']),
include_package_data=True,
exclude_package_data={'': ['.gitignore', '*.pyc', '*.pyo']},
install_requires=[]
)
# development mode (DOS command):
# python setup.py develop
# python setup.py develop --uninstall
# build mode:
# python setup.py build --build-base=D:/testworks/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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化