feat: set up basic structure

This commit is contained in:
Hazel 2025-04-10 12:13:46 +02:00
parent ded054147b
commit d68cfe15fe
4 changed files with 31 additions and 0 deletions

28
pyproject.toml Normal file
View File

@ -0,0 +1,28 @@
[project]
name = "stsg"
dependencies = [
]
dynamic = []
authors = []
readme = "README.md"
requires-python = ">=3.10"
classifiers = []
version = "0.0.0"
[project.scripts]
stsg_build = "stsg.__main__:main"
[build-system]
requires = ["hatchling", "hatch-requirements-txt"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
include = ["stsg/*.py"]
[tool.hatch.build.targets.wheel]
packages = ["stsg"]
[tool.hatch.metadata]
allow-direct-references = true

0
stsg/__init__.py Normal file
View File

2
stsg/__main__.py Normal file
View File

@ -0,0 +1,2 @@
def main():
print("main")

1
stsg/config.py Normal file
View File

@ -0,0 +1 @@
SOURCE_DIRECTORY = "src"