Skip to content

Commit

Permalink
Revert install_requires syntax:
Browse files Browse the repository at this point in the history
  • Loading branch information
maddieford committed Nov 20, 2024
1 parent 7065e81 commit 195e48f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,10 +320,11 @@ def run(self):
# will be removed from Python 3.
# * In version 3.13 of Python, the crypt module was removed and legacycrypt is
# required instead.
requires = [
"distro;python_version>='3.8'",
"legacycrypt;python_version>='3.13'",
]
requires = []
if sys.version_info[0] >= 3 and sys.version_info[1] >= 8:
requires.append('distro')
if sys.version_info[0] >= 3 and sys.version_info[1] >= 13:
requires.append('legacycrypt')

modules = [] # pylint: disable=invalid-name

Expand Down

0 comments on commit 195e48f

Please sign in to comment.