-
Notifications
You must be signed in to change notification settings - Fork 1
/
pyproject.toml
89 lines (77 loc) · 2.46 KB
/
pyproject.toml
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
[build-system]
requires = [
"setuptools>=65.5.1",
"wheel>=0.38.4",
]
build-backend = "setuptools.build_meta"
[project]
name = "pythonsdk"
description = "Python Software Dev Kit"
authors = [{name = "lijok", email = "lijok@pm.me"}]
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = []
readme = "README.md"
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
]
[project.urls]
"Homepage" = "https://github.com/lijok/python-sdk"
"Source Code" = "https://github.com/lijok/python-sdk"
"Documentation" = "https://github.com/lijok/python-sdk/docs"
"Changelog" = "https://github.com/lijok/python-sdk/blob/main/CHANGELOG.md"
"Bug Tracker" = "https://github.com/lijok/python-sdk/issues"
[project.optional-dependencies]
dev = [
"build>=0.8.0",
"twine>=4.0.1",
"hypothesis>=6.54.0",
"pytest>=7.1.3",
"pytest-asyncio>=0.19.0",
"freezegun>=1.2.2",
"boto3-stubs[dynamodb,s3,cloudwatch]>=1.26.127",
"uvloop>=0.17.0",
]
cli = [
"black>=22.10.0",
"isort>=5.10.1",
]
testing = [
"black>=22.10.0",
"isort>=5.10.1",
"mypy>=0.982",
]
aws = ["boto3>=1.24"]
lock-aws-dynamodb = ["boto3>=1.24"]
lock-s3 = ["boto3>=1.24"]
metrics-aws-cloudwatch = ["boto3>=1.24"]
[project.scripts]
python-sdk = "python_sdk.__main__:main"
[tool.setuptools]
package-dir = {"" = "src"}
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
python_sdk = ["py.typed", "version"]
[tool.setuptools.dynamic]
version = {file = "version"}
[tool.pytest.ini_options]
# -ra adds a short summary of all test outcomes aside from passed
# --string-markers errors if unknown markers are used
# --strict-config errors if any warnings are encountered in this config
# --durations 10 adds a short summary of slowest 10 tests
# --new-first runs tests on new files first
# --basetemp .test_artifacts sets the path that the tmp_path fixture will store files in
addopts = "-vv -ra --strict-markers --strict-config --durations 10 --new-first --basetemp .test_artifacts"
asyncio_mode = "auto"