Skip to content

Commit

Permalink
Update Python Requirement to 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
afshin committed Mar 19, 2021
1 parent b84f023 commit 12db7f9
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,18 @@
# Copyright (c) IPython Development Team.
# Distributed under the terms of the Modified BSD License.

# the name of the package
name = 'ipykernel'

#-----------------------------------------------------------------------------
# Minimal Python version sanity check
#-----------------------------------------------------------------------------

import sys
import re

v = sys.version_info
if v[:2] < (3, 5):
error = "ERROR: %s requires Python version 3.5 or above." % name
print(error, file=sys.stderr)
sys.exit(1)

#-----------------------------------------------------------------------------
# get on with it
#-----------------------------------------------------------------------------

from glob import glob
import os
import shutil

from setuptools import setup
from setuptools.command.bdist_egg import bdist_egg

# the name of the package
name = 'ipykernel'


class bdist_egg_disabled(bdist_egg):
"""Disabled version of bdist_egg
Expand Down Expand Up @@ -87,7 +72,7 @@ def run(self):
long_description=LONG_DESCRIPTION,
platforms="Linux, Mac OS X, Windows",
keywords=['Interactive', 'Interpreter', 'Shell', 'Web'],
python_requires='>=3.5',
python_requires='>=3.7',
install_requires=[
'debugpy>=1.0.0',
'ipython>=7.21.0',
Expand Down

0 comments on commit 12db7f9

Please sign in to comment.