Tidying up for future changes
- 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.
This commit is contained in:
@@ -11,9 +11,9 @@ authors = [
|
||||
{ name = "BipolarExpedition(Doc1979)" },
|
||||
{ name = "Doc1979", email = "lastdoc39@gmail.com" },
|
||||
]
|
||||
requires-python = ">=3.8"
|
||||
requires-python = ">=3.10"
|
||||
license = { file = "LICENSE" }
|
||||
# keywords = []
|
||||
keywords = ["server", "domain", "subdomain", "dns", "dynamic"]
|
||||
classifiers = [
|
||||
# How mature is this project? Common values are
|
||||
# 3 - Alpha
|
||||
@@ -23,38 +23,45 @@ classifiers = [
|
||||
"Programming Language :: Python :: 3",
|
||||
"Operating System :: OS Independent",
|
||||
]
|
||||
dependencies = ["Flask", "PyYAML", "Typer", "requests"]
|
||||
|
||||
[project.urls]
|
||||
homepage = "https://github.com/BipolarExpedition/subdomain_server"
|
||||
repository = "https://github.com/BipolarExpedition/subdomain_server"
|
||||
issues = "https://github.com/BipolarExpedition/subdomain_server/issues"
|
||||
# documentation = "https://readthedocs.org"
|
||||
# changelog = "https://github.com/me/spam/blob/master/CHANGELOG.md"
|
||||
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.gui-scripts]
|
||||
# subdomain_server_gui = "bpe_subdomain_server.gui-tk:main"
|
||||
|
||||
#[project.optional-dependencies]
|
||||
# gui = ["tkinter"]
|
||||
# cli = [
|
||||
# "rich",
|
||||
# "click",
|
||||
# ]
|
||||
[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"]
|
||||
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"]
|
||||
dependencies = ["ruff", "myst-parser", "sphinx", "pytest", "mypy"]
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
testpaths = ["tests"]
|
||||
|
||||
Reference in New Issue
Block a user