Skip to content

Commit

Permalink
Use python_requires in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mstimberg committed Jun 18, 2020
1 parent a678a75 commit b79823a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@

from setuptools import setup, find_packages

if sys.version_info < (3, 6):
raise RuntimeError('Only Python versions >= 3.6 are supported')

def readme():
with open('README.md') as f:
return f.read()
Expand Down Expand Up @@ -37,6 +34,7 @@ def readme():
provides=['brian2modelfitting'],
extras_require={'test': ['pytest'],
'docs': ['sphinx>=1.8']},
python_requires='>=3.6',
use_2to3=False,
zip_safe=False,
description='Modelfitting Toolbox for the Brian 2 simulator',
Expand Down

0 comments on commit b79823a

Please sign in to comment.