feat: setup pyproject structure

This commit is contained in:
2025-10-03 13:31:10 +01:00
parent 4401d9fa86
commit c34f8679d1
7 changed files with 45 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@@ -0,0 +1,10 @@
# Python-generated files
__pycache__/
*.py[oc]
build/
dist/
wheels/
*.egg-info
# Virtual environments
.venv

1
.python-version Normal file
View File

@@ -0,0 +1 @@
3.11

0
README.md Normal file
View File

20
pyproject.toml Normal file
View File

@@ -0,0 +1,20 @@
[project]
name = "bb-asset-validation"
version = "0.1.0"
description = "A simple asset path validation tool."
readme = "README.md"
requires-python = ">=3.11"
authors = [
{ name = "parker", email = "parker@parkerbritt.com" }
]
dependencies = []
[project.scripts]
bb-asset-validation = "bb_asset_validation.cli:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/bb_asset_validation"]

View File

View File

@@ -0,0 +1,6 @@
def main() -> None:
print("Hello world")
if __name__ == "__main__":
main()

8
uv.lock generated Normal file
View File

@@ -0,0 +1,8 @@
version = 1
revision = 2
requires-python = ">=3.11"
[[package]]
name = "bb-asset-validation"
version = "0.1.0"
source = { editable = "." }