-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·75 lines (69 loc) · 2.65 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
PROJECT = 'cax'
VERSION = '5.2.1'
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
'checksumdir', 'scp', 'pagerduty-api', 'pymongo', 'paramiko',
'numpy', 'sympy', 'pytz',
]
test_requirements = [
'pytest', 'mongomock',
]
setup(
name='cax',
version=VERSION,
description="Copying Around XENON1T data",
long_description=readme + '\n\n' + history,
author="Christopher Tunnell",
author_email='[email protected]',
url='https://github.com/tunnell/cax',
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
data_files=[ ('cax', ['cax/cax.json']),
('cax/host_config', ['cax/host_config/tegner_bash_p3.config', 'cax/host_config/tegner_bash_p2.config', 'cax/host_config/midway_bash_p3.config', 'cax/host_config/midway_bash_p2.config', 'cax/host_config/xe1tdatamanager_bash_p3.config', 'cax/host_config/xe1tdatamanager_bash_p2.config'])
],
license="ISCL",
zip_safe=False,
keywords='cax',
classifiers=[
'Intended Audience :: System Administrators',
'Development Status :: 5 - Production/Stable'
'License :: OSI Approved :: ISC License (ISCL)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
test_suite='tests',
tests_require=test_requirements,
setup_requires=['pytest-runner'],
entry_points={
'console_scripts': [
'cax = cax.main:main',
'massive-cax = cax.main:massive',
'caxer = cax.main:main', # For uniformity with paxer
'cax-process = cax.tasks.process:main',
'cax-mv = cax.main:move',
'cax-rm = cax.main:remove',
'cax-stray = cax.main:stray',
'cax-status = cax.main:status',
'massive-tsm = cax.main:massive_tsmclient',
'cax-tsm-remove = cax.main:remove_from_tsm',
'cax-tsm-watch = cax.main:cax_tape_log_file',
'ruciax = cax.main:ruciax',
'ruciax-rm = cax.main:remove_from_rucio',
'massive-ruciax = cax.main:massiveruciax',
'ruciax-check = cax.main:ruciax_status',
'ruciax-purge = cax.main:ruciax_purge',
'ruciax-download = cax.main:ruciax_download',
'ruciax-locator = cax.main:ruciax_locator',
],
},
)