Skip to content

Commit 5168f7f

Browse files
committed
chore: Setup pyproject.toml and rev gitignore
1 parent 8bb99b1 commit 5168f7f

File tree

4 files changed

+118
-34
lines changed

4 files changed

+118
-34
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/.mypy_cache
2-
venv
2+
venv/
33
.venv
44
/javascript
55
*.pickle
@@ -11,4 +11,4 @@ py_ddns.ini
1111
*.log
1212
build/
1313
dist/
14-
*.egg-info
14+
*.egg-info

pyproject.toml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,92 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "pyddns"
7+
version = "0.0.0"
8+
description = "Programmable DDNS client to automate IP address changes."
9+
readme = {file = "README.md", content-type = "text/markdown"}
10+
license = "MIT"
11+
authors = [
12+
{ name = "Mitchell Johnson", email = "91237766+mitjohnson@users.noreply.github.com" }
13+
]
14+
keywords = ["ddns", "dynamic dns", "ip automation"]
15+
requires-python = ">= 3.10"
16+
dependencies = [
17+
"annotated-types==0.7.0",
18+
"anyio==4.8.0",
19+
"certifi==2025.1.31",
20+
"charset-normalizer==3.4.1",
21+
"click==8.1.8",
22+
"click-option-group==0.5.7",
23+
"cloudflare==4.0.0",
24+
"Deprecated==1.2.18",
25+
"distro==1.9.0",
26+
"dotty-dict==1.3.1",
27+
"exceptiongroup==1.2.2",
28+
"gitdb==4.0.12",
29+
"GitPython==3.1.44",
30+
"h11==0.14.0",
31+
"httpcore==1.0.7",
32+
"httpx==0.28.1",
33+
"idna==3.10",
34+
"importlib_resources==6.5.2",
35+
"iniconfig==2.1.0",
36+
"Jinja2==3.1.6",
37+
"markdown-it-py==3.0.0",
38+
"MarkupSafe==3.0.2",
39+
"mdurl==0.1.2",
40+
"mypy==1.15.0",
41+
"mypy-extensions==1.0.0",
42+
"packaging==25.0",
43+
"pluggy==1.6.0",
44+
"pydantic==2.10.6",
45+
"pydantic_core==2.27.2",
46+
"Pygments==2.19.1",
47+
"pytest==8.3.5",
48+
"python-gitlab==5.6.0",
49+
"python-semantic-release==10.0.2",
50+
"requests==2.32.3",
51+
"requests-toolbelt==1.0.0",
52+
"rich==14.0.0",
53+
"shellingham==1.5.4",
54+
"smmap==5.0.2",
55+
"sniffio==1.3.1",
56+
"tomli==2.2.1",
57+
"tomlkit==0.13.2",
58+
"types-requests==2.32.0.20250301",
59+
"typing_extensions==4.12.2",
60+
"urllib3==2.3.0",
61+
"wrapt==1.17.2"
62+
]
63+
64+
[tool.pytest.ini_options]
65+
testpaths = ["tests"]
66+
pythonpath = ["src"]
67+
68+
[tool.semantic_release]
69+
version_toml = ["pyproject.toml:project.version"]
70+
build_command = "python -m build --sdist --wheel ."
71+
commit_parser = "conventional"
72+
73+
[tool.semantic_release.commit_parser_options]
74+
minor_tags = ["feat"]
75+
patch_tags = ["fix", "perf"]
76+
parse_squash_commits = true
77+
ignore_merge_commits = true
78+
79+
[tool.semantic_release.changelog.default_templates]
80+
changelog_file = "CHANGELOG.md"
81+
output_format = "md"
82+
83+
[tool.semantic_release.changelog]
84+
exclude_commit_patterns = [
85+
'''chore(?:\([^)]*?\))?: .+''',
86+
'''ci(?:\([^)]*?\))?: .+''',
87+
'''refactor(?:\([^)]*?\))?: .+''',
88+
'''style(?:\([^)]*?\))?: .+''',
89+
'''test(?:\([^)]*?\))?: .+''',
90+
'''build\((?!deps\): .+)''',
91+
'''Initial [Cc]ommit.*''',
92+
]

requirements.txt

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,44 @@ annotated-types==0.7.0
22
anyio==4.8.0
33
certifi==2025.1.31
44
charset-normalizer==3.4.1
5+
click==8.1.8
6+
click-option-group==0.5.7
57
cloudflare==4.0.0
8+
Deprecated==1.2.18
69
distro==1.9.0
10+
dotty-dict==1.3.1
711
exceptiongroup==1.2.2
12+
gitdb==4.0.12
13+
GitPython==3.1.44
814
h11==0.14.0
915
httpcore==1.0.7
1016
httpx==0.28.1
1117
idna==3.10
18+
importlib_resources==6.5.2
19+
iniconfig==2.1.0
20+
Jinja2==3.1.6
21+
markdown-it-py==3.0.0
22+
MarkupSafe==3.0.2
23+
mdurl==0.1.2
1224
mypy==1.15.0
1325
mypy-extensions==1.0.0
26+
packaging==25.0
27+
pluggy==1.6.0
1428
pydantic==2.10.6
1529
pydantic_core==2.27.2
30+
Pygments==2.19.1
31+
pytest==8.3.5
32+
python-gitlab==5.6.0
33+
python-semantic-release==10.0.2
1634
requests==2.32.3
35+
requests-toolbelt==1.0.0
36+
rich==14.0.0
37+
shellingham==1.5.4
38+
smmap==5.0.2
1739
sniffio==1.3.1
1840
tomli==2.2.1
41+
tomlkit==0.13.2
1942
types-requests==2.32.0.20250301
2043
typing_extensions==4.12.2
2144
urllib3==2.3.0
45+
wrapt==1.17.2

setup.py

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)