-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (53 loc) · 1.85 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# ---------------------------------------------------------------------
# Copyright (c) Merchise Autrement [~º/~] and Contributors
# All rights reserved.
#
# This is free software; you can do what the LICENCE file allows you to.
#
from __future__ import (division as _py3_division,
print_function as _py3_print,
unicode_literals as _py3_unicode)
# XXX: Don't put absolute imports in setup.py # noqa
import sys
import os
from setuptools import setup, find_packages
# Import the version from the release module
project_name = str('kaircs')
_current_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.append(os.path.join(_current_dir, project_name))
from release import VERSION as version # noqa
install_requires = [
'xoutil>=1.9.3,<2.0;python_version<"3.6"',
'xoutil>=1.9.3;python_version>="3.6"',
'six >= 1.8.0',
'basho_erlastic >= 2.1.1',
'flask>=0.12.2',
]
if sys.version_info[:3] <= (2, 7, 9):
install_requires.append("pyOpenSSL >= 0.14")
if sys.version_info[:3] <= (3, 0, 0):
install_requires.append('protobuf >=2.4.1, <2.7.0')
else:
install_requires.append('python3_protobuf >=2.4.1, <2.6.0')
setup(
name=project_name,
version=version,
description="A small File Cloud Storage over Riak KV",
long_description=open(
os.path.join(_current_dir, 'README.rst')).read(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
"Programming Language :: Python",
],
keywords=[''],
author='Merchise Autrement [~º/~]',
author_email='',
url='http://www.merchise.org/',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
)