forked from eWaterCycle/era5cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
51 lines (45 loc) · 1.71 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGELOG.rst')).read()
about = {}
with open(os.path.join(here, 'era5cli', '__version__.py'), 'r') as f:
exec(f.read(), about)
reqs = [line.strip() for line in open('requirements.txt')]
setup(
name="era5cli",
version=about["__version__"],
author=about["__author__"],
author_email=about["__email__"],
description=("A command line interface to download ERA5 data "
"from the Copernicus Climate Data Store "
"https://climate.copernicus.eu/."),
license="Apache 2.0",
keywords="ERA-5",
url="https://github.com/ewatercycle/era5cli",
packages=find_packages(),
include_package_data=True, # include everything in source control
package_data={'era5cli': ['cartesius/*']},
long_description=README,
classifiers=[
"Development Status :: 4 - Beta",
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Natural Language :: English',
'Topic :: Scientific/Engineering :: Atmospheric Science',
"License :: OSI Approved :: Apache Software License",
],
install_requires=reqs,
entry_points={'console_scripts': [
'era5cli=era5cli.cli:main']}
)