Skip to content

Commit ae00576

Browse files
authored
Merge pull request #608 from afshin/py37
Update Python Requirement to 3.7
2 parents b84f023 + 12db7f9 commit ae00576

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

setup.py

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,33 +3,18 @@
33
# Copyright (c) IPython Development Team.
44
# Distributed under the terms of the Modified BSD License.
55

6-
# the name of the package
7-
name = 'ipykernel'
8-
9-
#-----------------------------------------------------------------------------
10-
# Minimal Python version sanity check
11-
#-----------------------------------------------------------------------------
12-
136
import sys
147
import re
15-
16-
v = sys.version_info
17-
if v[:2] < (3, 5):
18-
error = "ERROR: %s requires Python version 3.5 or above." % name
19-
print(error, file=sys.stderr)
20-
sys.exit(1)
21-
22-
#-----------------------------------------------------------------------------
23-
# get on with it
24-
#-----------------------------------------------------------------------------
25-
268
from glob import glob
279
import os
2810
import shutil
2911

3012
from setuptools import setup
3113
from setuptools.command.bdist_egg import bdist_egg
3214

15+
# the name of the package
16+
name = 'ipykernel'
17+
3318

3419
class bdist_egg_disabled(bdist_egg):
3520
"""Disabled version of bdist_egg
@@ -87,7 +72,7 @@ def run(self):
8772
long_description=LONG_DESCRIPTION,
8873
platforms="Linux, Mac OS X, Windows",
8974
keywords=['Interactive', 'Interpreter', 'Shell', 'Web'],
90-
python_requires='>=3.5',
75+
python_requires='>=3.7',
9176
install_requires=[
9277
'debugpy>=1.0.0',
9378
'ipython>=7.21.0',

0 commit comments

Comments
 (0)