-
Notifications
You must be signed in to change notification settings - Fork 81
/
setup.py
44 lines (40 loc) · 1.27 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
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requires = [
'cassandra-driver==2.7.2',
]
with open('README.rst') as f:
readme = f.read()
# Get version number from the package without importing it.
# This puts __version__ (and anything else defined in
# _version.py) in our namespace.
version_filepath = '_version.py'
with open(version_filepath) as version_file:
exec(compile(version_file.read(), version_filepath, 'exec'))
setup(
name='cassandradump',
maintainer='Gianluca Borello',
maintainer_email='[email protected]',
url='https://github.com/gianlucaborello/cassandradump',
version=__version__, # noqa
description=('A data exporting tool for Cassandra inspired from mysqldump.'),
long_description=readme,
py_modules=['cassandradump'],
install_requires=requires,
license='GPL',
zip_safe=False,
classifiers=(
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
entry_points={
'console_scripts': [
'cassandradump=cassandradump:main',
],
},
)