Skip to content

Commit 39b9648

Browse files
committed
[setup] Pyver>=3.6 for pip and setup.py install
1 parent 2ebb6bd commit 39b9648

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
__author__ = 'Christian Kellner, Achilleas Koutsou'
88

9-
if sys.version_info.major < 3 and sys.version_info.minor < 6:
9+
if sys.version_info.major < 3 or (sys.version_info.major > 2 and sys.version_info.minor < 6):
1010
sys.exit('Sorry, nixio requires python >= 3.6!')
1111

1212
with open('README.rst') as f:
@@ -74,6 +74,7 @@ def get_wheel_data():
7474
license='BSD',
7575
packages=packages,
7676
scripts=[],
77+
python_requires=">=3.6",
7778
tests_require=['pytest', 'scipy', 'pillow', 'matplotlib'],
7879
test_suite='pytest',
7980
setup_requires=['pytest-runner'],

0 commit comments

Comments
 (0)