Skip to content

Commit

Permalink
Loosen the requirements when the datagetter is used as a library, by …
Browse files Browse the repository at this point in the history
…switching setup.py to use requirements.in instead of requirements.txt.

Now that requirements.in specifies compatible ranges, this allows downstream library uses to upgrade to compatible sub-requirement versions, e.g. for security updates, without needing to first update the requirements.txt in this repo.
  • Loading branch information
R2ZER0 committed Nov 8, 2024
1 parent a9efe48 commit cebea98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

install_requires = []

with open('./requirements.txt') as requirements_txt:
with open('./requirements.in') as requirements_txt:
requirements = requirements_txt.read().strip().splitlines()
for requirement in requirements:
if requirement.startswith('#'):
Expand Down

0 comments on commit cebea98

Please sign in to comment.