forked from shveenkov/aiotarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (31 loc) · 1.06 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
# -*- coding: utf-8 -*-
import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def find_version():
for line in open("aiotarantool.py"):
if line.startswith("__version__"):
return re.match(r"""__version__\s*=\s*(['"])([^'"]+)\1""", line).group(2)
setup(
name="aiotarantool",
py_modules=["aiotarantool"],
version=find_version(),
author="Dmitry Shveenkov",
author_email="[email protected]",
url="https://github.com/shveenkov/aiotarantool",
classifiers=[
"Programming Language :: Python :: 3.4",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Database :: Front-Ends"
],
install_requires=[
"tarantool>=0.5.1",
],
description="Tarantool connection driver for work with asyncio",
long_description=open("README.rst").read()
)