diff --git a/.gitignore b/.gitignore index 6cadf19..cb8b165 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,5 @@ wheels/ # CUSTOM STUFF untitled/saves -.ruff_cache \ No newline at end of file +.ruff_cache +.pytest_cache \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index b6782a3..a513b8f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,4 +16,11 @@ dev = [ target-version = "py313" [tool.ruff.lint] -extend-select = ["E", "F", "I", "UP", "B", "SIM"] \ No newline at end of file +extend-select = ["E", "F", "I", "UP", "B", "SIM"] + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["untitled"] \ No newline at end of file diff --git a/tests/test_persistence.py b/tests/test_persistence.py new file mode 100644 index 0000000..aaf822b --- /dev/null +++ b/tests/test_persistence.py @@ -0,0 +1 @@ +from untitled import model, persistence diff --git a/uv.lock b/uv.lock index c20444c..5dc6289 100644 --- a/uv.lock +++ b/uv.lock @@ -91,7 +91,7 @@ wheels = [ [[package]] name = "untitled-cat-game" version = "0.1.0" -source = { virtual = "." } +source = { editable = "." } [package.dev-dependencies] dev = [