From 2bcc2b5d9e7dc0b79532ab4604f81c834f2d090c Mon Sep 17 00:00:00 2001 From: Nicholas Long Date: Sun, 21 Apr 2024 08:04:49 -0600 Subject: [PATCH] update pyproject to make package installable --- .cspell.json | 2 ++ .gitignore | 2 ++ pyproject.toml | 6 +++++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.cspell.json b/.cspell.json index 6266151..8d6d303 100644 --- a/.cspell.json +++ b/.cspell.json @@ -3,11 +3,13 @@ "language": "en", "words": [ "autoload", + "geodataframe", "quadkey", "quadkeys", "streetaddress", "subaddress", "tqdm", + "UBID", "usaddress", "ZZYYY" ], diff --git a/.gitignore b/.gitignore index 39e1263..d3918ba 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,7 @@ __pycache__ .python-version .ruff_cache +dist + /data/ /locations.json diff --git a/pyproject.toml b/pyproject.toml index c891142..2f620e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,6 +4,9 @@ version = "0.1.0" description = "" authors = ["Alex Swindler ", "Nicholas Long "] readme = "README.md" +# should probably rename utils to cbl_workflow, then place +# the utils in that folder. +packages = [{include = "utils"}] [tool.poetry.dependencies] python = ">=3.9, <3.13" @@ -22,7 +25,8 @@ setuptools = "^69.2.0" pre-commit = "^3.7.0" [build-system] -requires = ["poetry-core"] +# Need to provide the build system information for the package to be built +requires = ["poetry-core", "setuptools", "wheel"] build-backend = "poetry.core.masonry.api" # https://docs.astral.sh/ruff/tutorial/#configuration