|
11 | 11 | # The full license is in the file COPYING.md, distributed with this software.
|
12 | 12 | #-----------------------------------------------------------------------------
|
13 | 13 |
|
14 |
| -from __future__ import print_function |
15 |
| - |
16 | 14 | import os
|
17 | 15 | import sys
|
18 | 16 |
|
19 | 17 | name = "notebook"
|
20 | 18 |
|
21 |
| -if sys.version_info < (3, 4): |
| 19 | +if sys.version_info < (3, 5): |
22 | 20 | pip_message = 'This may be due to an out of date pip. Make sure you have pip >= 9.0.1.'
|
23 | 21 | try:
|
24 | 22 | import pip
|
|
34 | 32 |
|
35 | 33 |
|
36 | 34 | error = """
|
37 |
| -Notebook 6.0+ supports Python 3.4 and above. |
38 |
| -When using Python 2.7, please install Notebook 5.x. |
| 35 | +Notebook 6.0+ supports Python 3.5 and above. |
| 36 | +When using Python 3.4 or earlier (including 2.7), please install Notebook 5.x. |
39 | 37 |
|
40 | 38 | Python {py} detected.
|
41 | 39 | {pip}
|
|
92 | 90 | 'Intended Audience :: Science/Research',
|
93 | 91 | 'License :: OSI Approved :: BSD License',
|
94 | 92 | 'Programming Language :: Python',
|
95 |
| - 'Programming Language :: Python :: 2.7', |
96 | 93 | 'Programming Language :: Python :: 3',
|
| 94 | + 'Programming Language :: Python :: 3.5', |
| 95 | + 'Programming Language :: Python :: 3.6', |
| 96 | + 'Programming Language :: Python :: 3.7' |
97 | 97 | ],
|
98 | 98 | zip_safe = False,
|
99 | 99 | install_requires = [
|
|
114 | 114 | 'prometheus_client'
|
115 | 115 | ],
|
116 | 116 | extras_require = {
|
117 |
| - ':python_version == "2.7"': ['ipaddress'], |
118 |
| - 'test:python_version == "2.7"': ['mock'], |
119 | 117 | 'test': ['nose', 'coverage', 'requests', 'nose_warnings_filters',
|
120 | 118 | 'nbval', 'nose-exclude', 'selenium', 'pytest', 'pytest-cov'],
|
121 | 119 | 'test:sys_platform == "win32"': ['nose-exclude'],
|
|
0 commit comments