File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 29
29
IntSlider()
30
30
"""
31
31
32
- #-----------------------------------------------------------------------------
33
- # Minimal Python version sanity check
34
- #-----------------------------------------------------------------------------
35
-
36
- import sys
37
-
38
- v = sys .version_info
39
- if v [:2 ] < (3 , 5 ):
40
- error = "ERROR: %s requires Python version 3.5 or above." % name
41
- print (error , file = sys .stderr )
42
- sys .exit (1 )
43
-
44
32
#-----------------------------------------------------------------------------
45
33
# get on with it
46
34
#-----------------------------------------------------------------------------
47
35
36
+ import sys
48
37
import os
49
38
from distutils .core import setup
50
39
from distutils .command .build_py import build_py
99
88
'build_py' : build_py ,
100
89
'sdist' : sdist ,
101
90
},
91
+ python_requires = '>=3.5' ,
102
92
)
103
93
104
94
if 'develop' in sys .argv or any (a .startswith ('bdist' ) for a in sys .argv ):
You can’t perform that action at this time.
0 commit comments