##// END OF EJS Templates
Add sphinxcontrib-jquery to doc dependencies
Juan Luis Cano Rodríguez -
Show More
@@ -1,205 +1,206 b''
1 [build-system]
1 [build-system]
2 requires = ["setuptools>=61.2"]
2 requires = ["setuptools>=61.2"]
3 # We need access to the 'setupbase' module at build time.
3 # We need access to the 'setupbase' module at build time.
4 # Hence we declare a custom build backend.
4 # Hence we declare a custom build backend.
5 build-backend = "_build_meta" # just re-exports setuptools.build_meta definitions
5 build-backend = "_build_meta" # just re-exports setuptools.build_meta definitions
6 backend-path = ["."]
6 backend-path = ["."]
7
7
8 [project]
8 [project]
9 name = "ipython"
9 name = "ipython"
10 description = "IPython: Productive Interactive Computing"
10 description = "IPython: Productive Interactive Computing"
11 keywords = ["Interactive", "Interpreter", "Shell", "Embedding"]
11 keywords = ["Interactive", "Interpreter", "Shell", "Embedding"]
12 classifiers = [
12 classifiers = [
13 "Framework :: IPython",
13 "Framework :: IPython",
14 "Framework :: Jupyter",
14 "Framework :: Jupyter",
15 "Intended Audience :: Developers",
15 "Intended Audience :: Developers",
16 "Intended Audience :: Science/Research",
16 "Intended Audience :: Science/Research",
17 "License :: OSI Approved :: BSD License",
17 "License :: OSI Approved :: BSD License",
18 "Programming Language :: Python",
18 "Programming Language :: Python",
19 "Programming Language :: Python :: 3",
19 "Programming Language :: Python :: 3",
20 "Programming Language :: Python :: 3 :: Only",
20 "Programming Language :: Python :: 3 :: Only",
21 "Topic :: System :: Shells",
21 "Topic :: System :: Shells",
22 ]
22 ]
23 requires-python = ">=3.10"
23 requires-python = ">=3.10"
24 dependencies = [
24 dependencies = [
25 'colorama; sys_platform == "win32"',
25 'colorama; sys_platform == "win32"',
26 "decorator",
26 "decorator",
27 "exceptiongroup; python_version<'3.11'",
27 "exceptiongroup; python_version<'3.11'",
28 "jedi>=0.16",
28 "jedi>=0.16",
29 "matplotlib-inline",
29 "matplotlib-inline",
30 'pexpect>4.3; sys_platform != "win32" and sys_platform != "emscripten"',
30 'pexpect>4.3; sys_platform != "win32" and sys_platform != "emscripten"',
31 "prompt_toolkit>=3.0.41,<3.1.0",
31 "prompt_toolkit>=3.0.41,<3.1.0",
32 "pygments>=2.4.0",
32 "pygments>=2.4.0",
33 "stack_data",
33 "stack_data",
34 "traitlets>=5",
34 "traitlets>=5",
35 "typing_extensions; python_version<'3.10'",
35 "typing_extensions; python_version<'3.10'",
36 ]
36 ]
37 dynamic = ["authors", "license", "version"]
37 dynamic = ["authors", "license", "version"]
38
38
39 [project.entry-points."pygments.lexers"]
39 [project.entry-points."pygments.lexers"]
40 ipythonconsole = "IPython.lib.lexers:IPythonConsoleLexer"
40 ipythonconsole = "IPython.lib.lexers:IPythonConsoleLexer"
41 ipython = "IPython.lib.lexers:IPythonLexer"
41 ipython = "IPython.lib.lexers:IPythonLexer"
42 ipython3 = "IPython.lib.lexers:IPython3Lexer"
42 ipython3 = "IPython.lib.lexers:IPython3Lexer"
43
43
44 [project.scripts]
44 [project.scripts]
45 ipython = "IPython:start_ipython"
45 ipython = "IPython:start_ipython"
46 ipython3 = "IPython:start_ipython"
46 ipython3 = "IPython:start_ipython"
47
47
48 [project.readme]
48 [project.readme]
49 file = "long_description.rst"
49 file = "long_description.rst"
50 content-type = "text/x-rst"
50 content-type = "text/x-rst"
51
51
52 [project.urls]
52 [project.urls]
53 Homepage = "https://ipython.org"
53 Homepage = "https://ipython.org"
54 Documentation = "https://ipython.readthedocs.io/"
54 Documentation = "https://ipython.readthedocs.io/"
55 Funding = "https://numfocus.org/"
55 Funding = "https://numfocus.org/"
56 Source = "https://github.com/ipython/ipython"
56 Source = "https://github.com/ipython/ipython"
57 Tracker = "https://github.com/ipython/ipython/issues"
57 Tracker = "https://github.com/ipython/ipython/issues"
58
58
59 [project.optional-dependencies]
59 [project.optional-dependencies]
60 black = [
60 black = [
61 "black",
61 "black",
62 ]
62 ]
63 doc = [
63 doc = [
64 "ipykernel",
64 "ipykernel",
65 "setuptools>=18.5",
65 "setuptools>=18.5",
66 "sphinx>=1.3",
66 "sphinx>=1.3",
67 "sphinx-rtd-theme",
67 "sphinx-rtd-theme",
68 "sphinxcontrib-jquery",
68 "docrepr",
69 "docrepr",
69 "matplotlib",
70 "matplotlib",
70 "stack_data",
71 "stack_data",
71 "typing_extensions",
72 "typing_extensions",
72 "exceptiongroup",
73 "exceptiongroup",
73 "ipython[test]",
74 "ipython[test]",
74 ]
75 ]
75 kernel = [
76 kernel = [
76 "ipykernel",
77 "ipykernel",
77 ]
78 ]
78 nbconvert = [
79 nbconvert = [
79 "nbconvert",
80 "nbconvert",
80 ]
81 ]
81 nbformat = [
82 nbformat = [
82 "nbformat",
83 "nbformat",
83 ]
84 ]
84 notebook = [
85 notebook = [
85 "ipywidgets",
86 "ipywidgets",
86 "notebook",
87 "notebook",
87 ]
88 ]
88 parallel = [
89 parallel = [
89 "ipyparallel",
90 "ipyparallel",
90 ]
91 ]
91 qtconsole = [
92 qtconsole = [
92 "qtconsole",
93 "qtconsole",
93 ]
94 ]
94 terminal = []
95 terminal = []
95 test = [
96 test = [
96 "pytest<8",
97 "pytest<8",
97 "pytest-asyncio<0.22",
98 "pytest-asyncio<0.22",
98 "testpath",
99 "testpath",
99 "pickleshare",
100 "pickleshare",
100 ]
101 ]
101 test_extra = [
102 test_extra = [
102 "ipython[test]",
103 "ipython[test]",
103 "curio",
104 "curio",
104 "matplotlib!=3.2.0",
105 "matplotlib!=3.2.0",
105 "nbformat",
106 "nbformat",
106 "numpy>=1.23",
107 "numpy>=1.23",
107 "pandas",
108 "pandas",
108 "trio",
109 "trio",
109 ]
110 ]
110 all = [
111 all = [
111 "ipython[black,doc,kernel,nbconvert,nbformat,notebook,parallel,qtconsole,terminal]",
112 "ipython[black,doc,kernel,nbconvert,nbformat,notebook,parallel,qtconsole,terminal]",
112 "ipython[test,test_extra]",
113 "ipython[test,test_extra]",
113 ]
114 ]
114
115
115 [tool.mypy]
116 [tool.mypy]
116 python_version = "3.10"
117 python_version = "3.10"
117 ignore_missing_imports = true
118 ignore_missing_imports = true
118 follow_imports = 'silent'
119 follow_imports = 'silent'
119 exclude = [
120 exclude = [
120 'test_\.+\.py',
121 'test_\.+\.py',
121 'IPython.utils.tests.test_wildcard',
122 'IPython.utils.tests.test_wildcard',
122 'testing',
123 'testing',
123 'tests',
124 'tests',
124 'PyColorize.py',
125 'PyColorize.py',
125 '_process_win32_controller.py',
126 '_process_win32_controller.py',
126 'IPython/core/application.py',
127 'IPython/core/application.py',
127 'IPython/core/profileapp.py',
128 'IPython/core/profileapp.py',
128 'IPython/lib/deepreload.py',
129 'IPython/lib/deepreload.py',
129 'IPython/sphinxext/ipython_directive.py',
130 'IPython/sphinxext/ipython_directive.py',
130 'IPython/terminal/ipapp.py',
131 'IPython/terminal/ipapp.py',
131 'IPython/utils/_process_win32.py',
132 'IPython/utils/_process_win32.py',
132 'IPython/utils/path.py',
133 'IPython/utils/path.py',
133 ]
134 ]
134
135
135 [tool.pytest.ini_options]
136 [tool.pytest.ini_options]
136 addopts = [
137 addopts = [
137 "--durations=10",
138 "--durations=10",
138 "-pIPython.testing.plugin.pytest_ipdoctest",
139 "-pIPython.testing.plugin.pytest_ipdoctest",
139 "--ipdoctest-modules",
140 "--ipdoctest-modules",
140 "--ignore=docs",
141 "--ignore=docs",
141 "--ignore=examples",
142 "--ignore=examples",
142 "--ignore=htmlcov",
143 "--ignore=htmlcov",
143 "--ignore=ipython_kernel",
144 "--ignore=ipython_kernel",
144 "--ignore=ipython_parallel",
145 "--ignore=ipython_parallel",
145 "--ignore=results",
146 "--ignore=results",
146 "--ignore=tmp",
147 "--ignore=tmp",
147 "--ignore=tools",
148 "--ignore=tools",
148 "--ignore=traitlets",
149 "--ignore=traitlets",
149 "--ignore=IPython/core/tests/daft_extension",
150 "--ignore=IPython/core/tests/daft_extension",
150 "--ignore=IPython/sphinxext",
151 "--ignore=IPython/sphinxext",
151 "--ignore=IPython/terminal/pt_inputhooks",
152 "--ignore=IPython/terminal/pt_inputhooks",
152 "--ignore=IPython/__main__.py",
153 "--ignore=IPython/__main__.py",
153 "--ignore=IPython/external/qt_for_kernel.py",
154 "--ignore=IPython/external/qt_for_kernel.py",
154 "--ignore=IPython/html/widgets/widget_link.py",
155 "--ignore=IPython/html/widgets/widget_link.py",
155 "--ignore=IPython/html/widgets/widget_output.py",
156 "--ignore=IPython/html/widgets/widget_output.py",
156 "--ignore=IPython/terminal/console.py",
157 "--ignore=IPython/terminal/console.py",
157 "--ignore=IPython/utils/_process_cli.py",
158 "--ignore=IPython/utils/_process_cli.py",
158 "--ignore=IPython/utils/_process_posix.py",
159 "--ignore=IPython/utils/_process_posix.py",
159 "--ignore=IPython/utils/_process_win32.py",
160 "--ignore=IPython/utils/_process_win32.py",
160 "--ignore=IPython/utils/_process_win32_controller.py",
161 "--ignore=IPython/utils/_process_win32_controller.py",
161 "--ignore=IPython/utils/daemonize.py",
162 "--ignore=IPython/utils/daemonize.py",
162 "--ignore=IPython/utils/eventful.py",
163 "--ignore=IPython/utils/eventful.py",
163 "--ignore=IPython/kernel",
164 "--ignore=IPython/kernel",
164 "--ignore=IPython/consoleapp.py",
165 "--ignore=IPython/consoleapp.py",
165 "--ignore=IPython/core/inputsplitter.py",
166 "--ignore=IPython/core/inputsplitter.py",
166 "--ignore=IPython/lib/kernel.py",
167 "--ignore=IPython/lib/kernel.py",
167 "--ignore=IPython/utils/jsonutil.py",
168 "--ignore=IPython/utils/jsonutil.py",
168 "--ignore=IPython/utils/localinterfaces.py",
169 "--ignore=IPython/utils/localinterfaces.py",
169 "--ignore=IPython/utils/log.py",
170 "--ignore=IPython/utils/log.py",
170 "--ignore=IPython/utils/signatures.py",
171 "--ignore=IPython/utils/signatures.py",
171 "--ignore=IPython/utils/traitlets.py",
172 "--ignore=IPython/utils/traitlets.py",
172 "--ignore=IPython/utils/version.py"
173 "--ignore=IPython/utils/version.py"
173 ]
174 ]
174 doctest_optionflags = [
175 doctest_optionflags = [
175 "NORMALIZE_WHITESPACE",
176 "NORMALIZE_WHITESPACE",
176 "ELLIPSIS"
177 "ELLIPSIS"
177 ]
178 ]
178 ipdoctest_optionflags = [
179 ipdoctest_optionflags = [
179 "NORMALIZE_WHITESPACE",
180 "NORMALIZE_WHITESPACE",
180 "ELLIPSIS"
181 "ELLIPSIS"
181 ]
182 ]
182 asyncio_mode = "strict"
183 asyncio_mode = "strict"
183
184
184 [tool.pyright]
185 [tool.pyright]
185 pythonPlatform="All"
186 pythonPlatform="All"
186
187
187 [tool.setuptools]
188 [tool.setuptools]
188 zip-safe = false
189 zip-safe = false
189 platforms = ["Linux", "Mac OSX", "Windows"]
190 platforms = ["Linux", "Mac OSX", "Windows"]
190 license-files = ["LICENSE"]
191 license-files = ["LICENSE"]
191 include-package-data = false
192 include-package-data = false
192
193
193 [tool.setuptools.packages.find]
194 [tool.setuptools.packages.find]
194 exclude = ["setupext"]
195 exclude = ["setupext"]
195 namespaces = false
196 namespaces = false
196
197
197 [tool.setuptools.package-data]
198 [tool.setuptools.package-data]
198 "IPython" = ["py.typed"]
199 "IPython" = ["py.typed"]
199 "IPython.core" = ["profile/README*"]
200 "IPython.core" = ["profile/README*"]
200 "IPython.core.tests" = ["*.png", "*.jpg", "daft_extension/*.py"]
201 "IPython.core.tests" = ["*.png", "*.jpg", "daft_extension/*.py"]
201 "IPython.lib.tests" = ["*.wav"]
202 "IPython.lib.tests" = ["*.wav"]
202 "IPython.testing.plugin" = ["*.txt"]
203 "IPython.testing.plugin" = ["*.txt"]
203
204
204 [tool.setuptools.dynamic]
205 [tool.setuptools.dynamic]
205 version = {attr = "IPython.core.release.__version__"}
206 version = {attr = "IPython.core.release.__version__"}
General Comments 0
You need to be logged in to leave comments. Login now