Skip to content

Commit

Permalink
fix: Update setup.py, so that it allows for any Python 3.6+ version t…
Browse files Browse the repository at this point in the history
…o be used
  • Loading branch information
arturbalabanov committed May 27, 2020
1 parent 6cc0e5d commit 25c2688
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
)


python_requires = "~=3.6"
python_requires = ">=3.6"
setup_requires = ["setuptools_scm"]
install_requires = [
"attrs>=18.2.0,<20.0.0",
Expand Down Expand Up @@ -39,8 +39,8 @@
*test_requires,
]

if sys.version_info[0] == 2:
raise Exception("Only python 3 supported.")
if sys.version_info < (3, 6):
raise RuntimeError("Only Python 3.6+ supported.")


def readme() -> str:
Expand Down

0 comments on commit 25c2688

Please sign in to comment.