summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2024-05-17 12:57:03 +0200
committerYuval Adam <_@yuv.al>2024-05-18 13:12:23 +0200
commitb302ff4893cda11e6f281e326dbc750a899781ac (patch)
tree55715cd54f4c8a53fbab9900e3e31b609638c223
parent2cb876249b30bd7768ad56dccb2693d32720d9b9 (diff)
Add requirements.txt and poetry export in README
-rw-r--r--README.md6
-rw-r--r--pyproject.toml1
-rw-r--r--requirements.txt6
3 files changed, 12 insertions, 1 deletions
diff --git a/README.md b/README.md
index 263bf1e..34d4406 100644
--- a/README.md
+++ b/README.md
@@ -48,3 +48,9 @@ Other commands are accessible via:
```bash
$ poetry run cli
```
+
+Netlify build requires an updated `requirements.txt` file, if dependencies have changed, run:
+
+```bash
+$ poetry export --without-hashes --without dev -f requirements.txt -o requirements.txt
+```
diff --git a/pyproject.toml b/pyproject.toml
index 1f35674..8b42b67 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -27,4 +27,3 @@ serve = "cli.serve:serve"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
-
diff --git a/requirements.txt b/requirements.txt
new file mode 100644
index 0000000..6871f13
--- /dev/null
+++ b/requirements.txt
@@ -0,0 +1,6 @@
+click==8.1.7 ; python_version >= "3.8" and python_version < "4.0"
+colorama==0.4.6 ; python_version >= "3.8" and python_version < "4.0" and platform_system == "Windows"
+jinja2==3.1.4 ; python_version >= "3.8" and python_version < "4.0"
+markupsafe==2.1.5 ; python_version >= "3.8" and python_version < "4.0"
+pyyaml==6.0.1 ; python_version >= "3.8" and python_version < "4.0"
+ymlstash==1.2.0 ; python_version >= "3.8" and python_version < "4.0"