-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
52 lines (42 loc) · 1.41 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
import io
import os
import re
from setuptools import setup
def get_version():
regex = r"__version__\s=\s\'(?P<version>[\d\.]+?)\'"
path = ('aioneo4j', '__init__.py')
return re.search(regex, read(*path)).group('version')
def read(*parts):
filename = os.path.join(os.path.abspath(os.path.dirname(__file__)), *parts)
with io.open(filename, encoding='utf-8', mode='rt') as fp:
return fp.read()
setup(
name='aioneo4j',
version=get_version(),
author='wikibusiness',
author_email='osf@wikibusiness.org',
url='https://github.com/wikibusiness/aioneo4j',
description='asyncio client for neo4j',
long_description=read('README.rst'),
install_requires=[
'aiohttp>=2.3.6',
'async_timeout',
],
packages=['aioneo4j'],
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords=['neo4j', 'asyncio', 'aiohttp'],
)