forked from Fuyukai/asyncqlio
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
69 lines (66 loc) · 1.71 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
import sys
from pathlib import Path
from setuptools import setup
if sys.version_info[0:2] < (3, 5):
raise RuntimeError("This package requires Python 3.5+.")
setup(
name="asyncqlio",
use_scm_version={
"version_scheme": "guess-next-dev",
"local_scheme": "dirty-tag"
},
packages=[
"asyncqlio",
"asyncqlio.orm",
"asyncqlio.orm.schema",
"asyncqlio.orm.ddl",
# namespace packages yay
"asyncqlio.backends",
# postgres backend
"asyncqlio.backends.postgresql",
# mysql backend
"asyncqlio.backends.mysql",
# sqlite3 backend
"asyncqlio.backends.sqlite3"
],
url="https://github.com/SunDwarf/asyncqlio",
license="MIT",
author="Laura Dickinson",
author_email="[email protected]",
description="An asyncio ORM for Python 3.5+",
long_description=Path(__file__).with_name("README.rst").read_text(encoding="utf-8"),
setup_requires=[
"setuptools_scm",
"pytest-runner"
],
install_requires=[
"cached_property==1.3.0",
"asyncio_extras==1.3.0",
"click",
"tqdm"
],
extras_require={
"docs": [
"sphinx>=1.5.0",
"sphinxcontrib-asyncio",
"sphinx-autodoc-typehints>=1.2.1",
"guzzle_sphinx_theme",
"typing" # for rtd
],
"postgresql": [
"asyncpg>=0.12.0"
],
"mysql": [
"aiomysql>=0.0.9",
]
},
test_requires=[
"pytest",
"pytest-asyncio",
"pytest-cov"
],
python_requires=">=3.5.2",
entry_points={
"console_scripts": ["asql-migrate=asyncqlio.orm.ddl.migration_tool:cli"]
}
)