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