From 57c4644150b323a99c17f55b96cecffd5f0f3b68 Mon Sep 17 00:00:00 2001 From: Thomas Beutlich Date: Fri, 29 Mar 2024 17:08:23 +0100 Subject: [PATCH] Add requirements.in --- .github/workflows/ci.yaml | 4 ++-- README.md | 4 ++-- requirements.in | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) create mode 100644 requirements.in diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f9e677b..5113a7b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -16,8 +16,8 @@ jobs: - name: Install dependencies run: | - python3 -m pip install pytest lark-parser - + python3 -m pip install -r requirements.in pytest + - name: Run test suite run: | pytest diff --git a/README.md b/README.md index 7f538d6..601772d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Step Physical File Validator -Pure-python Step Physical File Validator and Parser implemented using Lark (`pip install lark-parser`). +Pure-python Step Physical File Validator and Parser implemented using Lark (`pip install -r requirements.in`). ## Example command line usage: @@ -34,4 +34,4 @@ Expecting HEADER $ python main.py fixtures\pass_1.ifc Valid -~~~ \ No newline at end of file +~~~ diff --git a/requirements.in b/requirements.in new file mode 100644 index 0000000..0aa1d5a --- /dev/null +++ b/requirements.in @@ -0,0 +1 @@ +lark-parser