Skip to content

Commit

Permalink
Don't skip requirements with an environment marker
Browse files Browse the repository at this point in the history
Fix #1432 .
  • Loading branch information
nsoranzo committed Feb 27, 2024
1 parent 4634e47 commit 83fb880
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ oyaml
pathvalidate
pyyaml
virtualenv
stdlib_list; python_version < '3.10'
stdlib-list; python_version < '3.10'
tabulate
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_var(var_name):

if os.path.exists("requirements.txt"):
with open("requirements.txt") as fh:
requirements = [r for r in fh.read().split("\n") if ";" not in r]
requirements = [r for r in fh.read().split("\n")]
if not PLANEMO_REQUIRE_LXML:
requirements.remove("lxml")
else:
Expand Down

0 comments on commit 83fb880

Please sign in to comment.