Skip to content

Commit 291d719

Browse files
committed
use setup(..., python_requires='>=3.6'), closes #179
1 parent a38c7a0 commit 291d719

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

setup.py

+1-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
import sys
66

77

8-
if sys.version_info < (3, 6):
9-
print('adaptive requires Python 3.6 or above.')
10-
sys.exit(1)
11-
12-
138
# Loads _version.py module without importing the whole package.
149
def get_version_and_cmdclass(package_name):
1510
import os
@@ -48,6 +43,7 @@ def get_version_and_cmdclass(package_name):
4843
name='adaptive',
4944
description='Adaptive parallel sampling of mathematical functions',
5045
version=version,
46+
python_requires='>=3.6',
5147
url='https://adaptive.readthedocs.io/',
5248
author='Adaptive authors',
5349
license='BSD',

0 commit comments

Comments
 (0)