-
Notifications
You must be signed in to change notification settings - Fork 154
/
Copy pathpyproject.toml
124 lines (101 loc) · 4.23 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
# -------------------------------------------------------------------------------------------------
# Webex Python SDK Package Configuration
# -------------------------------------------------------------------------------------------------
[tool.poetry]
name = "webexpythonsdk"
version = "0.0.0" # This will be overwritten by the build process
description = "Work with the Webex APIs in native Python!"
authors = ["Chris Lunsford <[email protected]>"]
license = "MIT"
readme = "README.rst"
homepage = "https://github.com/WebexCommunity/WebexPythonSDK"
repository = "https://github.com/WebexCommunity/WebexPythonSDK"
documentation = "https://webexcommunity.github.io/WebexPythonSDK"
include = ["LICENSE", "README.rst"]
keywords = ["cisco", "webex", "api", "sdk", "python"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Natural Language :: English",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Intended Audience :: Information Technology",
"Intended Audience :: Telecommunications Industry",
"Topic :: Communications",
"Topic :: Communications :: Chat",
"Topic :: Communications :: Conferencing",
"Topic :: Software Development :: Libraries :: Python Modules",
]
# --------------------------------------------------------------------------------------
# Package Dependencies
# --------------------------------------------------------------------------------------
[tool.poetry.dependencies]
python = "^3.10"
requests = "^2.32.3"
requests-toolbelt = "^1.0.0"
PyJWT = "^2.8.0"
# --------------------------------------------------------------------------------------
# Development Dependencies
# --------------------------------------------------------------------------------------
[tool.poetry.group.dev.dependencies]
PyYAML = "^6.0.1"
ruff = "^0.4.9"
pytest = "^8.2.2"
ipython = "^8.25.0"
# --------------------------------------------------------------------------------------
# Documentation Dependencies
# --------------------------------------------------------------------------------------
[tool.poetry.group.docs.dependencies]
sphinx = "^7.3.7"
sphinx-rtd-theme = "^2.0.0"
# --------------------------------------------------------------------------------------
# Build System
# --------------------------------------------------------------------------------------
[build-system]
requires = ["poetry-core>=1.2.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
build-backend = "poetry.core.masonry.api"
# -------------------------------------------------------------------------------------------------
# Tool Configurations
# -------------------------------------------------------------------------------------------------
# --------------------------------------------------------------------------------------
# Ruff
# --------------------------------------------------------------------------------------
[tool.ruff]
line-length = 79
extend-exclude = [
"generator/**",
]
[tool.ruff.lint]
# B: flake8-bugbear
# Q: flake8-quotes
extend-select = [ "B", "Q", "W" ]
ignore = [
# E402 module level import not at top of file
"E402",
# F401 'builtins.*' imported but unused
"F401",
# F403 'from builtins import *' used; unable to detect undefined names
"F403",
# F405 'unicode' may be undefined, or defined from star imports: builtins
"F405",
]
# --------------------------------------------------------------------------------------
# Pytest
# --------------------------------------------------------------------------------------
[tool.pytest.ini_options]
addopts = "--strict-markers"
markers = ["slow", "manual"]
# --------------------------------------------------------------------------------------
# Poetry Dynamic Versioning
# --------------------------------------------------------------------------------------
[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"
style = "pep440"
[tool.poetry-dynamic-versioning.substitution]
files = ["src/webexpythonsdk/_metadata.py"]