##// END OF EJS Templates
pyproject.toml: Back to include-package-date=false
Matthias Koeppe -
Show More
@@ -1,204 +1,205 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", "entry-points", "license", "scripts", "version"]
37 dynamic = ["authors", "entry-points", "license", "scripts", "version"]
38
38
39 [project.readme]
39 [project.readme]
40 file = "long_description.rst"
40 file = "long_description.rst"
41 content-type = "text/x-rst"
41 content-type = "text/x-rst"
42
42
43 [project.urls]
43 [project.urls]
44 Homepage = "https://ipython.org"
44 Homepage = "https://ipython.org"
45 Documentation = "https://ipython.readthedocs.io/"
45 Documentation = "https://ipython.readthedocs.io/"
46 Funding = "https://numfocus.org/"
46 Funding = "https://numfocus.org/"
47 Source = "https://github.com/ipython/ipython"
47 Source = "https://github.com/ipython/ipython"
48 Tracker = "https://github.com/ipython/ipython/issues"
48 Tracker = "https://github.com/ipython/ipython/issues"
49
49
50 [project.optional-dependencies]
50 [project.optional-dependencies]
51 black = [
51 black = [
52 "black",
52 "black",
53 ]
53 ]
54 doc = [
54 doc = [
55 "ipykernel",
55 "ipykernel",
56 "setuptools>=18.5",
56 "setuptools>=18.5",
57 "sphinx>=1.3",
57 "sphinx>=1.3",
58 "sphinx-rtd-theme",
58 "sphinx-rtd-theme",
59 "docrepr",
59 "docrepr",
60 "matplotlib",
60 "matplotlib",
61 "stack_data",
61 "stack_data",
62 "typing_extensions",
62 "typing_extensions",
63 "exceptiongroup",
63 "exceptiongroup",
64 "ipython[test]",
64 "ipython[test]",
65 ]
65 ]
66 kernel = [
66 kernel = [
67 "ipykernel",
67 "ipykernel",
68 ]
68 ]
69 nbconvert = [
69 nbconvert = [
70 "nbconvert",
70 "nbconvert",
71 ]
71 ]
72 nbformat = [
72 nbformat = [
73 "nbformat",
73 "nbformat",
74 ]
74 ]
75 notebook = [
75 notebook = [
76 "ipywidgets",
76 "ipywidgets",
77 "notebook",
77 "notebook",
78 ]
78 ]
79 parallel = [
79 parallel = [
80 "ipyparallel",
80 "ipyparallel",
81 ]
81 ]
82 qtconsole = [
82 qtconsole = [
83 "qtconsole",
83 "qtconsole",
84 ]
84 ]
85 terminal = []
85 terminal = []
86 test = [
86 test = [
87 "pytest<8",
87 "pytest<8",
88 "pytest-asyncio<0.22",
88 "pytest-asyncio<0.22",
89 "testpath",
89 "testpath",
90 "pickleshare",
90 "pickleshare",
91 ]
91 ]
92 test_extra = [
92 test_extra = [
93 "ipython[test]",
93 "ipython[test]",
94 "curio",
94 "curio",
95 "matplotlib!=3.2.0",
95 "matplotlib!=3.2.0",
96 "nbformat",
96 "nbformat",
97 "numpy>=1.23",
97 "numpy>=1.23",
98 "pandas",
98 "pandas",
99 "trio",
99 "trio",
100 ]
100 ]
101 all = [
101 all = [
102 "ipython[black,doc,kernel,nbconvert,nbformat,notebook,parallel,qtconsole,terminal]",
102 "ipython[black,doc,kernel,nbconvert,nbformat,notebook,parallel,qtconsole,terminal]",
103 "ipython[test,test_extra]",
103 "ipython[test,test_extra]",
104 ]
104 ]
105
105
106 [tool.mypy]
106 [tool.mypy]
107 python_version = "3.10"
107 python_version = "3.10"
108 ignore_missing_imports = true
108 ignore_missing_imports = true
109 follow_imports = 'silent'
109 follow_imports = 'silent'
110 exclude = [
110 exclude = [
111 'test_\.+\.py',
111 'test_\.+\.py',
112 'IPython.utils.tests.test_wildcard',
112 'IPython.utils.tests.test_wildcard',
113 'testing',
113 'testing',
114 'tests',
114 'tests',
115 'PyColorize.py',
115 'PyColorize.py',
116 '_process_win32_controller.py',
116 '_process_win32_controller.py',
117 'IPython/core/application.py',
117 'IPython/core/application.py',
118 'IPython/core/completerlib.py',
118 'IPython/core/completerlib.py',
119 'IPython/core/displaypub.py',
119 'IPython/core/displaypub.py',
120 'IPython/core/historyapp.py',
120 'IPython/core/historyapp.py',
121 #'IPython/core/interactiveshell.py',
121 #'IPython/core/interactiveshell.py',
122 'IPython/core/magic.py',
122 'IPython/core/magic.py',
123 'IPython/core/profileapp.py',
123 'IPython/core/profileapp.py',
124 # 'IPython/core/ultratb.py',
124 # 'IPython/core/ultratb.py',
125 'IPython/lib/deepreload.py',
125 'IPython/lib/deepreload.py',
126 'IPython/lib/pretty.py',
126 'IPython/lib/pretty.py',
127 'IPython/sphinxext/ipython_directive.py',
127 'IPython/sphinxext/ipython_directive.py',
128 'IPython/terminal/ipapp.py',
128 'IPython/terminal/ipapp.py',
129 'IPython/utils/_process_win32.py',
129 'IPython/utils/_process_win32.py',
130 'IPython/utils/path.py',
130 'IPython/utils/path.py',
131 'IPython/utils/timing.py',
131 'IPython/utils/timing.py',
132 'IPython/utils/text.py'
132 'IPython/utils/text.py'
133 ]
133 ]
134
134
135 [tool.pytest.ini_options]
135 [tool.pytest.ini_options]
136 addopts = [
136 addopts = [
137 "--durations=10",
137 "--durations=10",
138 "-pIPython.testing.plugin.pytest_ipdoctest",
138 "-pIPython.testing.plugin.pytest_ipdoctest",
139 "--ipdoctest-modules",
139 "--ipdoctest-modules",
140 "--ignore=docs",
140 "--ignore=docs",
141 "--ignore=examples",
141 "--ignore=examples",
142 "--ignore=htmlcov",
142 "--ignore=htmlcov",
143 "--ignore=ipython_kernel",
143 "--ignore=ipython_kernel",
144 "--ignore=ipython_parallel",
144 "--ignore=ipython_parallel",
145 "--ignore=results",
145 "--ignore=results",
146 "--ignore=tmp",
146 "--ignore=tmp",
147 "--ignore=tools",
147 "--ignore=tools",
148 "--ignore=traitlets",
148 "--ignore=traitlets",
149 "--ignore=IPython/core/tests/daft_extension",
149 "--ignore=IPython/core/tests/daft_extension",
150 "--ignore=IPython/sphinxext",
150 "--ignore=IPython/sphinxext",
151 "--ignore=IPython/terminal/pt_inputhooks",
151 "--ignore=IPython/terminal/pt_inputhooks",
152 "--ignore=IPython/__main__.py",
152 "--ignore=IPython/__main__.py",
153 "--ignore=IPython/external/qt_for_kernel.py",
153 "--ignore=IPython/external/qt_for_kernel.py",
154 "--ignore=IPython/html/widgets/widget_link.py",
154 "--ignore=IPython/html/widgets/widget_link.py",
155 "--ignore=IPython/html/widgets/widget_output.py",
155 "--ignore=IPython/html/widgets/widget_output.py",
156 "--ignore=IPython/terminal/console.py",
156 "--ignore=IPython/terminal/console.py",
157 "--ignore=IPython/utils/_process_cli.py",
157 "--ignore=IPython/utils/_process_cli.py",
158 "--ignore=IPython/utils/_process_posix.py",
158 "--ignore=IPython/utils/_process_posix.py",
159 "--ignore=IPython/utils/_process_win32.py",
159 "--ignore=IPython/utils/_process_win32.py",
160 "--ignore=IPython/utils/_process_win32_controller.py",
160 "--ignore=IPython/utils/_process_win32_controller.py",
161 "--ignore=IPython/utils/daemonize.py",
161 "--ignore=IPython/utils/daemonize.py",
162 "--ignore=IPython/utils/eventful.py",
162 "--ignore=IPython/utils/eventful.py",
163 "--ignore=IPython/kernel",
163 "--ignore=IPython/kernel",
164 "--ignore=IPython/consoleapp.py",
164 "--ignore=IPython/consoleapp.py",
165 "--ignore=IPython/core/inputsplitter.py",
165 "--ignore=IPython/core/inputsplitter.py",
166 "--ignore=IPython/lib/kernel.py",
166 "--ignore=IPython/lib/kernel.py",
167 "--ignore=IPython/utils/jsonutil.py",
167 "--ignore=IPython/utils/jsonutil.py",
168 "--ignore=IPython/utils/localinterfaces.py",
168 "--ignore=IPython/utils/localinterfaces.py",
169 "--ignore=IPython/utils/log.py",
169 "--ignore=IPython/utils/log.py",
170 "--ignore=IPython/utils/signatures.py",
170 "--ignore=IPython/utils/signatures.py",
171 "--ignore=IPython/utils/traitlets.py",
171 "--ignore=IPython/utils/traitlets.py",
172 "--ignore=IPython/utils/version.py"
172 "--ignore=IPython/utils/version.py"
173 ]
173 ]
174 doctest_optionflags = [
174 doctest_optionflags = [
175 "NORMALIZE_WHITESPACE",
175 "NORMALIZE_WHITESPACE",
176 "ELLIPSIS"
176 "ELLIPSIS"
177 ]
177 ]
178 ipdoctest_optionflags = [
178 ipdoctest_optionflags = [
179 "NORMALIZE_WHITESPACE",
179 "NORMALIZE_WHITESPACE",
180 "ELLIPSIS"
180 "ELLIPSIS"
181 ]
181 ]
182 asyncio_mode = "strict"
182 asyncio_mode = "strict"
183
183
184 [tool.pyright]
184 [tool.pyright]
185 pythonPlatform="All"
185 pythonPlatform="All"
186
186
187 [tool.setuptools]
187 [tool.setuptools]
188 zip-safe = false
188 zip-safe = false
189 platforms = ["Linux", "Mac OSX", "Windows"]
189 platforms = ["Linux", "Mac OSX", "Windows"]
190 license-files = ["LICENSE"]
190 license-files = ["LICENSE"]
191 include-package-data = false
191
192
192 [tool.setuptools.packages.find]
193 [tool.setuptools.packages.find]
193 exclude = ["setupext"]
194 exclude = ["setupext"]
194 namespaces = false
195 namespaces = false
195
196
196 [tool.setuptools.package-data]
197 [tool.setuptools.package-data]
197 "IPython" = ["py.typed"]
198 "IPython" = ["py.typed"]
198 "IPython.core" = ["profile/README*"]
199 "IPython.core" = ["profile/README*"]
199 "IPython.core.tests" = ["*.png", "*.jpg", "daft_extension/*.py"]
200 "IPython.core.tests" = ["*.png", "*.jpg", "daft_extension/*.py"]
200 "IPython.lib.tests" = ["*.wav"]
201 "IPython.lib.tests" = ["*.wav"]
201 "IPython.testing.plugin" = ["*.txt"]
202 "IPython.testing.plugin" = ["*.txt"]
202
203
203 [tool.setuptools.dynamic]
204 [tool.setuptools.dynamic]
204 version = {attr = "IPython.core.release.__version__"}
205 version = {attr = "IPython.core.release.__version__"}
General Comments 0
You need to be logged in to leave comments. Login now