-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
73 lines (67 loc) · 2.29 KB
/
setup.py
File metadata and controls
73 lines (67 loc) · 2.29 KB
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
import os
import re
from setuptools import setup, find_packages
v = open(os.path.join(os.path.dirname(__file__), "pydynamodb", "__init__.py"))
VERSION = re.compile(r'.*__version__: str = "(.*?)"', re.S).match(v.read()).group(1)
v.close()
readme = os.path.join(os.path.dirname(__file__), "README.rst")
install_requires = [
"boto3>=1.21.0",
"botocore>=1.24.7",
"tenacity>=4.1.0",
"pyparsing>=3.0.0",
]
extras_require = {
"sqlalchemy": ["sqlalchemy>=1.0.0"],
"sqlean": ["sqlean.py>=3.45.0"],
}
setup(
name="pydynamodb",
version=VERSION,
description="Python DB API 2.0 (PEP 249) client for Amazon DynamoDB",
long_description=open(readme).read(),
long_description_content_type="text/x-rst",
url="https://github.com/passren/PyDynamoDB",
author="Peng Ren",
author_email="passren9099@hotmail.com",
license="MIT",
python_requires=">=3.9",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
keywords="DB-API Amazon AWS DynamoDB",
project_urls={
"Documentation": "https://github.com/passren/PyDynamoDB/wiki",
"Source": "https://github.com/passren/PyDynamoDB",
"Tracker": "https://github.com/passren/PyDynamoDB/issues",
},
packages=find_packages(
include=[
"pydynamodb",
"pydynamodb.sql",
"pydynamodb.sqlalchemy_dynamodb",
"pydynamodb.superset_dynamodb",
]
),
include_package_data=True,
install_requires=install_requires,
extras_require=extras_require,
zip_safe=False,
entry_points={
"sqlalchemy.dialects": [
"dynamodb = pydynamodb.sqlalchemy_dynamodb.pydynamodb:DynamoDBDialect",
"dynamodb.rest = pydynamodb.sqlalchemy_dynamodb.pydynamodb:DynamoDBRestDialect",
]
},
)