From a87c0f142ed5ddda7833dc508a6421dd82dcbcf5 Mon Sep 17 00:00:00 2001 From: Andrei Stoica Date: Sun, 18 Sep 2022 13:01:19 -0400 Subject: [PATCH] restructured code for packaging --- pyproject.toml | 6 ++++++ {recipe_graph => src/recipe_graph}/__init__.py | 0 {recipe_graph => src/recipe_graph}/db.py | 0 {recipe_graph => src/recipe_graph}/insert_sites.py | 0 {recipe_graph => src/recipe_graph}/scrape.py | 0 5 files changed, 6 insertions(+) create mode 100644 pyproject.toml rename {recipe_graph => src/recipe_graph}/__init__.py (100%) rename {recipe_graph => src/recipe_graph}/db.py (100%) rename {recipe_graph => src/recipe_graph}/insert_sites.py (100%) rename {recipe_graph => src/recipe_graph}/scrape.py (100%) diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a19e8bb --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = ["setuptools>=61.0"] +build-backend = "setuptools.build_meta" + +[metadata] +name = "recepie_graph" \ No newline at end of file diff --git a/recipe_graph/__init__.py b/src/recipe_graph/__init__.py similarity index 100% rename from recipe_graph/__init__.py rename to src/recipe_graph/__init__.py diff --git a/recipe_graph/db.py b/src/recipe_graph/db.py similarity index 100% rename from recipe_graph/db.py rename to src/recipe_graph/db.py diff --git a/recipe_graph/insert_sites.py b/src/recipe_graph/insert_sites.py similarity index 100% rename from recipe_graph/insert_sites.py rename to src/recipe_graph/insert_sites.py diff --git a/recipe_graph/scrape.py b/src/recipe_graph/scrape.py similarity index 100% rename from recipe_graph/scrape.py rename to src/recipe_graph/scrape.py