-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
54 lines (39 loc) · 1.36 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
# _*_ 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