Skip to content

Commit

Permalink
Merge 3d2c54f into 6e9c32f
Browse files Browse the repository at this point in the history
  • Loading branch information
nhoening committed May 5, 2023
2 parents 6e9c32f + 3d2c54f commit a6dfae7
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,15 @@


def load_requirements(use_case):
"""
Loading range requirements.
Packaging should be used for installing the package into existing stacks.
We therefore read the .in file for the use case.
.txt files include the exact pins, and are useful for deployments with
exactly comparable environments.
"""
reqs = []
with open("requirements/%s.txt" % use_case, "r") as f:
with open("requirements/%s.in" % use_case, "r") as f:
reqs = [
req
for req in f.read().splitlines()
Expand Down

0 comments on commit a6dfae7

Please sign in to comment.