forked from 05bit/peewee-async
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
64 lines (59 loc) · 1.56 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
"""
Asynchronous interface for peewee ORM powered by asyncio.
"""
from setuptools import setup
VERSION = ''
with open('peewee_async.py') as module_fp:
for line in module_fp:
if line.startswith('__version__'):
VERSION = line.split('=')[1].strip().strip("'").strip('"')
break
with open('README.md', 'r') as readme_fp:
LONG_DESCRIPTION = readme_fp.read()
# Usage hints:
#
# python setup.py develop
# pip install -e .[develop]
# python setup.py sdist bdist_wheel
# twine check dist/*
#
setup(
name="peewee-async",
version=VERSION,
author="Alexey Kinev",
author_email='[email protected]',
url='https://github.com/05bit/peewee-async',
description=__doc__.strip(),
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
license='MIT',
zip_safe=False,
install_requires=(
'peewee>=3.5.0,<4.0',
),
extras_require={
'develop': [
'pylint',
'wheel',
'twine',
'aiomysql',
'aiopg',
'pytest',
'pytest-asyncio'
],
'aiopg': ['aiopg>=0.14.0'],
'aiomysql': ['aiomysql>=0.0.19'],
},
py_modules=[
'peewee_async',
'peewee_asyncext'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
],
)