Skip to content

Commit 88c2b7d

Browse files
committed
Organize pyproject.toml
1 parent 1073f2f commit 88c2b7d

File tree

1 file changed

+51
-11
lines changed

1 file changed

+51
-11
lines changed

pyproject.toml

Lines changed: 51 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
1+
# -------------------------------------------------------------------------------------------------
2+
# Webex Python SDK Package Configuration
3+
# -------------------------------------------------------------------------------------------------
4+
15
[tool.poetry]
26
name = "webexpythonsdk"
3-
version = "0.0.0"
7+
version = "0.0.0" # This will be overwritten by the build process
48
description = "Work with the Webex APIs in native Python!"
59
authors = ["Chris Lunsford <cm@lunsford.io>"]
610
license = "MIT"
@@ -29,38 +33,52 @@ classifiers = [
2933
"Topic :: Software Development :: Libraries :: Python Modules",
3034
]
3135

36+
37+
# --------------------------------------------------------------------------------------
38+
# Package Dependencies
39+
# --------------------------------------------------------------------------------------
40+
3241
[tool.poetry.dependencies]
3342
python = "^3.10"
3443
requests = "^2.32.3"
3544
requests-toolbelt = "^1.0.0"
3645
PyJWT = "^2.8.0"
3746

47+
48+
# --------------------------------------------------------------------------------------
49+
# Development Dependencies
50+
# --------------------------------------------------------------------------------------
51+
3852
[tool.poetry.group.dev.dependencies]
3953
PyYAML = "^6.0.1"
4054
ruff = "^0.4.9"
4155
pytest = "^8.2.2"
4256
ipython = "^8.25.0"
4357

58+
# --------------------------------------------------------------------------------------
59+
# Documentation Dependencies
60+
# --------------------------------------------------------------------------------------
61+
4462
[tool.poetry.group.docs.dependencies]
4563
sphinx = "^7.3.7"
4664
sphinx-rtd-theme = "^2.0.0"
4765

66+
# --------------------------------------------------------------------------------------
67+
# Build System
68+
# --------------------------------------------------------------------------------------
69+
4870
[build-system]
4971
requires = ["poetry-core>=1.2.0", "poetry-dynamic-versioning>=1.0.0,<2.0.0"]
5072
build-backend = "poetry.core.masonry.api"
5173

52-
[tool.poetry-dynamic-versioning]
53-
enable = true
54-
vcs = "git"
55-
style = "pep440"
56-
57-
[tool.poetry-dynamic-versioning.substitution]
58-
files = ["src/webexpythonsdk/_metadata.py"]
5974

75+
# -------------------------------------------------------------------------------------------------
76+
# Tool Configurations
77+
# -------------------------------------------------------------------------------------------------
6078

61-
[tool.pytest.ini_options]
62-
addopts = "--strict-markers"
63-
markers = ["slow", "manual"]
79+
# --------------------------------------------------------------------------------------
80+
# Ruff
81+
# --------------------------------------------------------------------------------------
6482

6583
[tool.ruff]
6684
line-length = 79
@@ -82,3 +100,25 @@ ignore = [
82100
# F405 'unicode' may be undefined, or defined from star imports: builtins
83101
"F405",
84102
]
103+
104+
105+
# --------------------------------------------------------------------------------------
106+
# Pytest
107+
# --------------------------------------------------------------------------------------
108+
109+
[tool.pytest.ini_options]
110+
addopts = "--strict-markers"
111+
markers = ["slow", "manual"]
112+
113+
114+
# --------------------------------------------------------------------------------------
115+
# Poetry Dynamic Versioning
116+
# --------------------------------------------------------------------------------------
117+
118+
[tool.poetry-dynamic-versioning]
119+
enable = true
120+
vcs = "git"
121+
style = "pep440"
122+
123+
[tool.poetry-dynamic-versioning.substitution]
124+
files = ["src/webexpythonsdk/_metadata.py"]

0 commit comments

Comments
 (0)