Skip to content

Commit

Permalink
update requirements.txt to remove version
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian committed Jul 9, 2024
1 parent 840ddb6 commit c93be7d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ jobs:

- name: Create simplified requirements.txt from pyproject.toml
run: |
awk '/\[tool.poetry.dependencies\]/,/\[tool.poetry.dev-dependencies\]/ {if ($1 != "python" && $1 != "[tool.poetry.dependencies]" && $1 != "[tool.poetry.dev-dependencies]") print}' pyproject.toml | sed 's/ = /==/g' > requirements.txt
awk '/\[tool.poetry.dependencies\]/,/\[tool.poetry.dev-dependencies\]/ {if ($1 != "python" && $1 != "[tool.poetry.dependencies]" && $1 != "[tool.poetry.dev-dependencies]") print}' pyproject.toml | \
sed 's/ = "/==/g' | sed 's/[",^]//g' | sed 's/ *$//' > requirements.txt
echo "Contents of requirements.txt:"
cat requirements.txt
Expand Down Expand Up @@ -190,6 +191,7 @@ jobs:




build-windows:
runs-on: windows-latest

Expand Down

0 comments on commit c93be7d

Please sign in to comment.