-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathsetup.py
executable file
·42 lines (39 loc) · 1.1 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
#!/usr/bin/env python2.7
from __future__ import print_function
from __future__ import absolute_import
import sys
from setuptools import setup
import versioneer
setup(name='fetch',
maintainer='Jeremy Hooke',
maintainer_email='[email protected]',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Automatic retrieval of ancillary and data',
packages=[
'fetch',
'fetch.scripts'
],
install_requires=[
'arrow',
'croniter',
'feedparser',
'lxml',
'pathlib;python_version<"3.4"',
'pyyaml',
'requests>=2.21.0',
'future;python_version<"3"',
] + (
# Setting subprocess names is only support on Linux
['setproctitle'] if 'linux' in sys.platform else []
),
extras_require={
'ecmwf': ['ecmwf-api-client']
},
entry_points={
'console_scripts': [
'fetch-service = fetch.scripts.service:main',
'fetch-now = fetch.scripts.now:main'
]
},
)