Show More
@@ -5,7 +5,6 b' python:' | |||||
5 | - 3.6 |
|
5 | - 3.6 | |
6 | - 3.5 |
|
6 | - 3.5 | |
7 | - 3.4 |
|
7 | - 3.4 | |
8 | - 3.3 |
|
|||
9 | sudo: false |
|
8 | sudo: false | |
10 | env: |
|
9 | env: | |
11 | global: |
|
10 | global: |
@@ -27,12 +27,12 b' import sys' | |||||
27 | #----------------------------------------------------------------------------- |
|
27 | #----------------------------------------------------------------------------- | |
28 |
|
28 | |||
29 | # Don't forget to also update setup.py when this changes! |
|
29 | # Don't forget to also update setup.py when this changes! | |
30 |
if sys.version_info < (3, |
|
30 | if sys.version_info < (3,4): | |
31 | raise ImportError( |
|
31 | raise ImportError( | |
32 | """ |
|
32 | """ | |
33 | IPython 6.0+ does not support Python 2.6, 2.7, 3.0, 3.1, or 3.2. |
|
33 | IPython 6.3+ supports Python 3.4 and above. | |
34 | When using Python 2.7, please install IPython 5.x LTS Long Term Support version. |
|
34 | When using Python 2.7, please install IPython 5.x LTS Long Term Support version. | |
35 | Beginning with IPython 6.0, Python 3.3 and above is required. |
|
35 | Python 3.3 was supported up to IPython 6.2. | |
36 |
|
36 | |||
37 | See IPython `README.rst` file for more information: |
|
37 | See IPython `README.rst` file for more information: | |
38 |
|
38 |
@@ -26,7 +26,7 b' import sys' | |||||
26 | # |
|
26 | # | |
27 | # This check is also made in IPython/__init__, don't forget to update both when |
|
27 | # This check is also made in IPython/__init__, don't forget to update both when | |
28 | # changing Python version requirements. |
|
28 | # changing Python version requirements. | |
29 |
if sys.version_info < (3, |
|
29 | if sys.version_info < (3, 4): | |
30 | pip_message = 'This may be due to an out of date pip. Make sure you have pip >= 9.0.1.' |
|
30 | pip_message = 'This may be due to an out of date pip. Make sure you have pip >= 9.0.1.' | |
31 | try: |
|
31 | try: | |
32 | import pip |
|
32 | import pip | |
@@ -175,7 +175,7 b' extras_require = dict(' | |||||
175 | parallel = ['ipyparallel'], |
|
175 | parallel = ['ipyparallel'], | |
176 | qtconsole = ['qtconsole'], |
|
176 | qtconsole = ['qtconsole'], | |
177 | doc = ['Sphinx>=1.3'], |
|
177 | doc = ['Sphinx>=1.3'], | |
178 | test = ['nose>=0.10.1', 'requests', 'testpath', 'pygments', 'nbformat', 'ipykernel'], |
|
178 | test = ['nose>=0.10.1', 'requests', 'testpath', 'pygments', 'nbformat', 'ipykernel', 'numpy'], | |
179 | terminal = [], |
|
179 | terminal = [], | |
180 | kernel = ['ipykernel'], |
|
180 | kernel = ['ipykernel'], | |
181 | nbformat = ['nbformat'], |
|
181 | nbformat = ['nbformat'], | |
@@ -200,8 +200,6 b' install_requires = [' | |||||
200 | # but requires pip >= 6. pip < 6 ignores these. |
|
200 | # but requires pip >= 6. pip < 6 ignores these. | |
201 |
|
201 | |||
202 | extras_require.update({ |
|
202 | extras_require.update({ | |
203 | 'test:python_version >= "3.4"': ['numpy'], |
|
|||
204 | ':python_version == "3.3"': ['pathlib2'], |
|
|||
205 | ':python_version <= "3.4"': ['typing'], |
|
203 | ':python_version <= "3.4"': ['typing'], | |
206 | ':sys_platform != "win32"': ['pexpect'], |
|
204 | ':sys_platform != "win32"': ['pexpect'], | |
207 | ':sys_platform == "darwin"': ['appnope'], |
|
205 | ':sys_platform == "darwin"': ['appnope'], | |
@@ -232,7 +230,7 b' for key, deps in extras_require.items():' | |||||
232 | extras_require['all'] = everything |
|
230 | extras_require['all'] = everything | |
233 |
|
231 | |||
234 | if 'setuptools' in sys.modules: |
|
232 | if 'setuptools' in sys.modules: | |
235 |
setuptools_extra_args['python_requires'] = '>=3. |
|
233 | setuptools_extra_args['python_requires'] = '>=3.4' | |
236 | setuptools_extra_args['zip_safe'] = False |
|
234 | setuptools_extra_args['zip_safe'] = False | |
237 | setuptools_extra_args['entry_points'] = { |
|
235 | setuptools_extra_args['entry_points'] = { | |
238 | 'console_scripts': find_entry_points(), |
|
236 | 'console_scripts': find_entry_points(), |
General Comments 0
You need to be logged in to leave comments.
Login now