From c34f8679d12e20470c4bd38b286c7359a38339cb Mon Sep 17 00:00:00 2001 From: parker Date: Fri, 3 Oct 2025 13:31:10 +0100 Subject: [PATCH] feat: setup pyproject structure --- .gitignore | 10 ++++++++++ .python-version | 1 + README.md | 0 pyproject.toml | 20 ++++++++++++++++++++ src/bb_asset_validation/__init__.py | 0 src/bb_asset_validation/cli.py | 6 ++++++ uv.lock | 8 ++++++++ 7 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 .python-version create mode 100644 README.md create mode 100644 pyproject.toml create mode 100644 src/bb_asset_validation/__init__.py create mode 100644 src/bb_asset_validation/cli.py create mode 100644 uv.lock diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..505a3b1 --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +# Python-generated files +__pycache__/ +*.py[oc] +build/ +dist/ +wheels/ +*.egg-info + +# Virtual environments +.venv diff --git a/.python-version b/.python-version new file mode 100644 index 0000000..2c07333 --- /dev/null +++ b/.python-version @@ -0,0 +1 @@ +3.11 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..5b07428 --- /dev/null +++ b/pyproject.toml @@ -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"] diff --git a/src/bb_asset_validation/__init__.py b/src/bb_asset_validation/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/src/bb_asset_validation/cli.py b/src/bb_asset_validation/cli.py new file mode 100644 index 0000000..8481c1d --- /dev/null +++ b/src/bb_asset_validation/cli.py @@ -0,0 +1,6 @@ +def main() -> None: + print("Hello world") + +if __name__ == "__main__": + main() + diff --git a/uv.lock b/uv.lock new file mode 100644 index 0000000..bdcd32b --- /dev/null +++ b/uv.lock @@ -0,0 +1,8 @@ +version = 1 +revision = 2 +requires-python = ">=3.11" + +[[package]] +name = "bb-asset-validation" +version = "0.1.0" +source = { editable = "." }