feat: Add package structure for TheChart, implement entry points for console scripts and module execution

This commit is contained in:
William Valentin
2025-08-08 18:33:51 -07:00
parent 583f5d793a
commit bd598d63f9
6 changed files with 122 additions and 5 deletions

View File

@@ -15,6 +15,9 @@ dependencies = [
"ttkthemes>=3.2.2",
]
[project.scripts]
thechart = "thechart.__main__:main"
[dependency-groups]
dev = [
"pre-commit>=4.2.0",
@@ -104,3 +107,15 @@ indent-style = "space" # Use spaces for indentation
[tool.ruff.lint.pycodestyle]
max-line-length = 88
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[tool.setuptools]
package-dir = { "" = "src" }
[tool.setuptools.packages.find]
where = ["src"]
include = ["thechart*"]
exclude = ["tests*"]