- Changelog started. Existing version 0.0.2 - Add section for application wide TODOs. Each moved to changelog when done - Adjusted .gitignore and .dockerignore - Updated image base to python:3.10-slim-trixie. Cleaned up image build. - Added default environment values to compose file - Cleaned up pyproject.toml. - Deleted unused gui-tk.py.
69 lines
1.4 KiB
TOML
69 lines
1.4 KiB
TOML
[build-system]
|
|
requires = ["hatchling"]
|
|
build-backend = "hatchling.build"
|
|
|
|
[project]
|
|
name = "bpe_subdomain_server"
|
|
version = "0.0.2"
|
|
description = "The server component for authorized, non-owners to request a subdomain to be updated."
|
|
readme = "README.md"
|
|
authors = [
|
|
{ name = "BipolarExpedition(Doc1979)" },
|
|
{ name = "Doc1979", email = "lastdoc39@gmail.com" },
|
|
]
|
|
requires-python = ">=3.10"
|
|
license = { file = "LICENSE" }
|
|
keywords = ["server", "domain", "subdomain", "dns", "dynamic"]
|
|
classifiers = [
|
|
# How mature is this project? Common values are
|
|
# 3 - Alpha
|
|
# 4 - Beta
|
|
# 5 - Production/Stable
|
|
"Development Status :: 3 - Alpha",
|
|
"Programming Language :: Python :: 3",
|
|
"Operating System :: OS Independent",
|
|
]
|
|
dependencies = [
|
|
"Flask==3.1.1",
|
|
"PyYAML==6.0.2",
|
|
"requests==2.32.4",
|
|
"typer==0.16.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
subdomain_server = "bpe_subdomain_server.cli:daemon"
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"ruff",
|
|
"mypy",
|
|
"pytest",
|
|
"types-PyYAML",
|
|
"types-requests",
|
|
"typing_extensions",
|
|
]
|
|
|
|
[tool.hatch.build]
|
|
skip-excluded-dirs = true
|
|
exclude = [
|
|
".secrets",
|
|
".credentials",
|
|
".vscode",
|
|
".idea",
|
|
"auth.yaml",
|
|
"config.yaml",
|
|
"config/auth.yaml",
|
|
"config/config.yaml",
|
|
]
|
|
|
|
[tool.hatch.envs.default]
|
|
python = "3.10"
|
|
|
|
[tool.hatch.envs.test]
|
|
python = "3.10"
|
|
dependencies = ["ruff", "myst-parser", "sphinx", "pytest", "mypy"]
|
|
|
|
[tool.pytest.ini_options]
|
|
testpaths = ["tests"]
|
|
addopts = "-v -s"
|