forked from MetPX/sarracenia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·77 lines (69 loc) · 2.48 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
import codecs
import os
import re
import sys
from setuptools import find_packages
from distutils.core import setup
import sarra
here = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
return codecs.open(os.path.join(here, *parts), 'r').read()
packages=find_packages()
print("packages = %s" % packages)
setup(
name='metpx-sarracenia',
version=sarra.__version__,
description='Subscribe, Acquire, and Re-Advertise products.',
long_description=(read('README.rst') + '\n\n' +
read('CHANGES.rst') + '\n\n' +
read('AUTHORS.rst')),
url='https://github.com/MetPX/sarracenia',
license='GPLv2',
author='Shared Services Canada, Supercomputing, Data Interchange',
author_email='[email protected]',
packages=find_packages() ,
package_data={ 'sarra': [ 'examples/*/*' ] },
entry_points={
"console_scripts":[
"sr_audit=sarra.sr_audit:main",
"sr=sarra.sr:main",
"sr1=sarra.sr1:main",
"sr_report=sarra.sr_report:main",
"sr_poll=sarra.sr_poll:main",
"sr_post=sarra.sr_post:main",
"sr_watch=sarra.sr_watch:main",
"sr_winnow=sarra.sr_winnow:main",
"sr_sarra=sarra.sr_sarra:main",
"sr_shovel=sarra.sr_shovel:main",
"sr_sender=sarra.sr_sender:main",
"sr_subscribe=sarra.sr_subscribe:main",
"sr_log2save=sarra.sr_log2save:main",
"sr_tailf=sarra.sr_tailf:main"
]
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Communications :: File Sharing',
'Topic :: System :: Logging',
],
install_requires=[
"amqp",
"appdirs",
"watchdog",
"netifaces",
"humanize",
"psutil" ]
)