Skip to content

Commit

Permalink
just enclose each dependency in quotes instead
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamOrmondroyd committed Sep 20, 2023
1 parent b251696 commit c609e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/min_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
deps = pyproject["project"]["dependencies"]
deps = [dep.replace(">=", "==") for dep in deps]
deps = [dep.replace("~=", "==") for dep in deps]
deps = [dep[:dep.find('<')-1] if '<' in dep else dep for dep in deps]
deps = [f'"{dep}"' for dep in deps]

print(' '.join(deps))

0 comments on commit c609e98

Please sign in to comment.