forked from aio-libs/aiocouchdb
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
79 lines (66 loc) · 1.89 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
78
79
# -*- coding: utf-8 -*-
#
# Copyright (C) 2014-2015 Alexander Shorin
# All rights reserved.
#
# This software is licensed as described in the file LICENSE, which
# you should have received as part of this distribution.
#
import imp
import os
import sys
from os.path import join
from setuptools import setup, find_packages
setup_dir = os.path.dirname(__file__)
mod = imp.load_module(
'version', *imp.find_module('version', [join(setup_dir, 'aiocouchdb')]))
if sys.version_info < (3, 3):
raise RuntimeError('aiocouchdb requires Python 3.3+')
long_description = ''.join([
open(join(setup_dir, 'README.rst')).read().strip(),
'''
Changes
=======
''',
open(join(setup_dir, 'CHANGES.rst')).read().strip()
])
setup(
name='aiocouchdb',
version=mod.__version__,
license='BSD',
url='https://github.com/kxepal/aiocouchdb',
description='CouchDB client built on top of aiohttp (asyncio)',
long_description=long_description,
author='Nicholas Leung, Alexander Shorin',
author_email='[email protected], [email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.6',
'Topic :: Database :: Front-Ends',
'Topic :: Software Development :: Libraries :: Python Modules'
],
packages=find_packages(),
test_suite='nose.collector',
zip_safe=False,
install_requires=[
'aiohttp>=3.0.0'
],
extras_require={
'oauth': [
'oauthlib==1.0.3'
],
'docs': [
'sphinx==1.3.1'
]
},
tests_require=[
'flake8==2.4.1',
'nose==1.3.7'
]
)