|
3 | 3 | # Copyright (c) IPython Development Team. |
4 | 4 | # Distributed under the terms of the Modified BSD License. |
5 | 5 |
|
6 | | -# the name of the package |
7 | | -name = 'ipykernel' |
8 | | - |
9 | | -#----------------------------------------------------------------------------- |
10 | | -# Minimal Python version sanity check |
11 | | -#----------------------------------------------------------------------------- |
12 | | - |
13 | 6 | import sys |
14 | 7 | 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 | | - |
26 | 8 | from glob import glob |
27 | 9 | import os |
28 | 10 | import shutil |
29 | 11 |
|
30 | 12 | from setuptools import setup |
31 | 13 | from setuptools.command.bdist_egg import bdist_egg |
32 | 14 |
|
| 15 | +# the name of the package |
| 16 | +name = 'ipykernel' |
| 17 | + |
33 | 18 |
|
34 | 19 | class bdist_egg_disabled(bdist_egg): |
35 | 20 | """Disabled version of bdist_egg |
@@ -87,7 +72,7 @@ def run(self): |
87 | 72 | long_description=LONG_DESCRIPTION, |
88 | 73 | platforms="Linux, Mac OS X, Windows", |
89 | 74 | keywords=['Interactive', 'Interpreter', 'Shell', 'Web'], |
90 | | - python_requires='>=3.5', |
| 75 | + python_requires='>=3.7', |
91 | 76 | install_requires=[ |
92 | 77 | 'debugpy>=1.0.0', |
93 | 78 | 'ipython>=7.21.0', |
|
0 commit comments