forked from aiokitchen/hasql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
91 lines (87 loc) · 2.67 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
80
81
82
83
84
85
86
87
88
89
90
91
import os
from importlib.machinery import SourceFileLoader
from setuptools import setup, find_packages
module = SourceFileLoader(
"version", os.path.join("hasql", "__init__.py")
).load_module()
setup(
name="hasql",
version=module.__version__,
author=module.__author__,
author_email=module.authors_email,
license=module.__license__,
description=module.package_info,
long_description=open("README.rst").read(),
platforms="all",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Framework :: AsyncIO",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: Russian",
"Operating System :: MacOS",
"Operating System :: Microsoft",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Programming Language :: Python",
],
packages=find_packages(exclude=["tests", "example"]),
package_data={'hasql': ['py.typed']},
install_requires=[],
extras_require={
"aiopg": [
"aiopg"
],
"aiopg_sa": [
"aiopg[sa]"
],
"asyncpg": [
"asyncpg"
],
"asyncpgsa": [
"asyncpgsa"
],
"psycopg": [
"psycopg[pool]>=3,<4"
],
"test": [
"async_timeout",
"psycopg[pool]>=3.0,<4",
"aiopg[sa]~=1.4.0",
"asyncpg~=0.29.0",
"pytest~=6.2.5",
"pytest-cov~=3.0.0",
"aiomisc~=15.2.4",
"mock~=4.0.1",
"sqlalchemy[asyncio]~=1.4.27",
],
"develop": [
"async_timeout",
"psycopg[pool]>=3.0,<4",
"aiopg[sa]~=1.4.0",
"asyncpg~=0.27.0",
"pytest~=6.2.5",
"pytest-cov~=3.0.0",
"pylama~=7.7.1",
"aiomisc~=15.2.4",
"mock~=4.0.3",
"sqlalchemy[asyncio]~=1.4.27",
"black~=21.9b0",
"tox~=3.24",
"twine",
"wheel",
"types-psycopg2",
],
},
project_urls={
"Source": "https://github.com/aiokitchen/hasql",
"Tracker": "https://github.com/aiokitchen/hasql/issues",
"Documentation": "https://github.com/aiokitchen/hasql/blob/master/README.rst",
},
)