Skip to content

Commit

Permalink
List dependencies correctly in distributions. (#109)
Browse files Browse the repository at this point in the history
  • Loading branch information
matz-e authored Sep 25, 2023
1 parent a8890e6 commit 3a7f045
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
def environment_dependencies(obj, dependencies=None):
if dependencies is None:
dependencies = []
# if isinstance(obj, string_types):
# dependencies.append(obj.replace('=', '=='))
if isinstance(obj, str):
dependencies.append(obj)
elif isinstance(obj, dict):
if "dependencies" in obj:
environment_dependencies(obj["dependencies"], dependencies=dependencies)
Expand Down

0 comments on commit 3a7f045

Please sign in to comment.