forked from thelastpickle/cassandra-medusa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (65 loc) · 2.22 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
#! /usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright 2018 Spotify AB
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='cassandra-medusa',
version='0.8.0-dev',
author='The Last Pickle',
author_email='[email protected]',
url='https://github.com/thelastpickle/cassandra-medusa',
description='Apache Cassandra backup and restore tool',
long_description=long_description,
long_description_content_type="text/markdown",
license='Apache',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5',
'Topic :: Database',
'Topic :: System :: Archiving :: Backup'
],
python_requires='>=3.5',
packages=setuptools.find_packages(),
install_requires=[
'python-dateutil<2.8.1,>=2.1',
'Click>=6.7',
'PyYAML>=5.1',
'cassandra-driver>=3.14.0',
'psutil>=5.4.7',
'ffwd>=0.0.2',
'apache-libcloud>=2.8.0',
'lockfile>=0.12.2',
'pycrypto>=2.6.1',
'retrying>=1.3.3',
'parallel-ssh==1.9.1',
'ssh2-python==0.19.0', # <-- ssh2-python==0.20.0 is broken, 0.22.0+ should work.
'requests==2.22.0'
],
extras_require={
'S3': ["awscli>=1.16.291"],
'GCS': ["google-cloud-storage>=1.7.0"]
},
entry_points={
'console_scripts': [
'medusa=medusa.medusacli:cli',
]},
scripts=['bin/medusa-wrapper'],
data_files=[('/etc/medusa', ['medusa-example.ini'])]
)