nbdev 2.4.2__py3-none-any.whl → 2.4.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- nbdev/__init__.py +1 -1
- nbdev/doclinks.py +8 -4
- nbdev/release.py +1 -1
- {nbdev-2.4.2.dist-info → nbdev-2.4.3.dist-info}/METADATA +17 -2
- {nbdev-2.4.2.dist-info → nbdev-2.4.3.dist-info}/RECORD +9 -9
- {nbdev-2.4.2.dist-info → nbdev-2.4.3.dist-info}/WHEEL +1 -1
- {nbdev-2.4.2.dist-info → nbdev-2.4.3.dist-info}/entry_points.txt +0 -0
- {nbdev-2.4.2.dist-info → nbdev-2.4.3.dist-info/licenses}/LICENSE +0 -0
- {nbdev-2.4.2.dist-info → nbdev-2.4.3.dist-info}/top_level.txt +0 -0
nbdev/__init__.py
CHANGED
nbdev/doclinks.py
CHANGED
|
@@ -17,7 +17,7 @@ from fastcore.meta import delegates
|
|
|
17
17
|
from fastcore.net import urlread
|
|
18
18
|
|
|
19
19
|
import ast,builtins,contextlib
|
|
20
|
-
import
|
|
20
|
+
import importlib
|
|
21
21
|
|
|
22
22
|
from astunparse import unparse
|
|
23
23
|
from io import BytesIO
|
|
@@ -27,6 +27,8 @@ from urllib.parse import urljoin
|
|
|
27
27
|
from functools import lru_cache
|
|
28
28
|
from types import ModuleType
|
|
29
29
|
|
|
30
|
+
from importlib.metadata import entry_points
|
|
31
|
+
|
|
30
32
|
# %% ../nbs/api/05_doclinks.ipynb
|
|
31
33
|
def _sym_nm(klas, sym): return f'{unparse(klas).strip()}.{sym.name}'
|
|
32
34
|
|
|
@@ -236,9 +238,11 @@ def _build_lookup_table(strip_libs=None, incl_libs=None, skip_mods=None):
|
|
|
236
238
|
strip_libs = L(strip_libs)
|
|
237
239
|
if incl_libs is not None: incl_libs = (L(incl_libs)+strip_libs).unique()
|
|
238
240
|
entries = {}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
241
|
+
# TODO: use new group param once 3.10 in min python
|
|
242
|
+
eps = [o for o in entry_points() if o.group=='nbdev']
|
|
243
|
+
for o in eps:
|
|
244
|
+
if incl_libs is not None and o.dist.name not in incl_libs: continue
|
|
245
|
+
try: entries[o.name] = _qual_syms(o.load())
|
|
242
246
|
except Exception: pass
|
|
243
247
|
py_syms = merge(*L(o['syms'].values() for o in entries.values()).concat())
|
|
244
248
|
for m in strip_libs:
|
nbdev/release.py
CHANGED
|
@@ -316,7 +316,7 @@ def release_pypi(
|
|
|
316
316
|
):
|
|
317
317
|
"Create and upload Python package to PyPI"
|
|
318
318
|
_dir = get_config().lib_path.parent
|
|
319
|
-
system(f'cd {_dir} && rm -rf dist build && python
|
|
319
|
+
system(f'cd {_dir} && rm -rf dist build && python -m build')
|
|
320
320
|
system(f'twine upload --repository {repository} {_dir}/dist/*')
|
|
321
321
|
|
|
322
322
|
# %% ../nbs/api/18_release.ipynb
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: nbdev
|
|
3
|
-
Version: 2.4.
|
|
3
|
+
Version: 2.4.3
|
|
4
4
|
Summary: Create delightful software with Jupyter Notebooks
|
|
5
5
|
Home-page: https://github.com/AnswerDotAI/nbdev
|
|
6
6
|
Author: Jeremy Howard and Hamel Husain
|
|
@@ -27,6 +27,7 @@ Requires-Dist: ghapi>=1.0.3
|
|
|
27
27
|
Requires-Dist: watchdog
|
|
28
28
|
Requires-Dist: asttokens
|
|
29
29
|
Requires-Dist: setuptools
|
|
30
|
+
Requires-Dist: build
|
|
30
31
|
Requires-Dist: PyYAML
|
|
31
32
|
Provides-Extra: dev
|
|
32
33
|
Requires-Dist: ipywidgets; extra == "dev"
|
|
@@ -41,6 +42,20 @@ Requires-Dist: pysymbol_llm; extra == "dev"
|
|
|
41
42
|
Requires-Dist: llms-txt; extra == "dev"
|
|
42
43
|
Requires-Dist: sphinx; extra == "dev"
|
|
43
44
|
Requires-Dist: plum-dispatch; extra == "dev"
|
|
45
|
+
Dynamic: author
|
|
46
|
+
Dynamic: author-email
|
|
47
|
+
Dynamic: classifier
|
|
48
|
+
Dynamic: description
|
|
49
|
+
Dynamic: description-content-type
|
|
50
|
+
Dynamic: home-page
|
|
51
|
+
Dynamic: keywords
|
|
52
|
+
Dynamic: license
|
|
53
|
+
Dynamic: license-file
|
|
54
|
+
Dynamic: project-url
|
|
55
|
+
Dynamic: provides-extra
|
|
56
|
+
Dynamic: requires-dist
|
|
57
|
+
Dynamic: requires-python
|
|
58
|
+
Dynamic: summary
|
|
44
59
|
|
|
45
60
|
# Getting Started
|
|
46
61
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
nbdev/__init__.py,sha256=
|
|
1
|
+
nbdev/__init__.py,sha256=xH9c2dreAn3RnnbjapBQHSRJYxXICxX9mdWr8OuUkXg,89
|
|
2
2
|
nbdev/_modidx.py,sha256=zVxnzO5QaU03Hg9VaA_IgwyZNEbdy8qnvPUIV94m3Kg,41634
|
|
3
3
|
nbdev/clean.py,sha256=mVgsW2_g7KIXAVh8mwpj86UwMN6QVM-q33PDzA27nWw,9410
|
|
4
4
|
nbdev/cli.py,sha256=vPBg1OrqzXW_b2NHiUn9g7CflP2M_Bk3pdbKXuKXwjM,7107
|
|
5
5
|
nbdev/config.py,sha256=KmPAtLwsX819gA7TVJ40v-B4ok978b79pbqMF5WnAJE,13500
|
|
6
|
-
nbdev/doclinks.py,sha256=
|
|
6
|
+
nbdev/doclinks.py,sha256=8OxNX7PkGZL9bJ5klQRY8rmr9RLYV-X9HiLzsAoUOXc,12527
|
|
7
7
|
nbdev/export.py,sha256=dX_mAnH6-vLHJEb4vp-QS2pY78Hk5YXsdvdgzMTiymY,4059
|
|
8
8
|
nbdev/extract_attachments.py,sha256=O4mS4EFIOXL_yQ3jmsnBStrWxGR_nPNvxLYXHtLeimw,2208
|
|
9
9
|
nbdev/frontmatter.py,sha256=i195bhDLWd-WUEzQT9JBoA4Ee3j6gD1dKMT8yk5fF4Y,2761
|
|
@@ -15,15 +15,15 @@ nbdev/process.py,sha256=Vb3SN5YW2gB9rYv5ToeveOeL9qM9AGLRPXCyAFiaE3g,5853
|
|
|
15
15
|
nbdev/processors.py,sha256=fS4WrowC8bi6sFJJUVA9r9IRgmk-gffrJ9zNfb7vpIM,11973
|
|
16
16
|
nbdev/qmd.py,sha256=VAxE-c1sT7y26VdyreB6j9fge-CuLbHWocRE_WbnYXg,2994
|
|
17
17
|
nbdev/quarto.py,sha256=YnYwM1gTSIuitfUnK-R3gxqfrUh6rHPZmBN1OqhLuQ0,13816
|
|
18
|
-
nbdev/release.py,sha256=
|
|
18
|
+
nbdev/release.py,sha256=ErGeI2kjd-3UdKDM49c-mpf9igrYrbT46iERagH0oCM,14308
|
|
19
19
|
nbdev/serve.py,sha256=HcYoNQiSROdMS1J8YlOlyTya-LmmrR-8v3ho5D9g700,3146
|
|
20
20
|
nbdev/serve_drv.py,sha256=IZ2acem_KKsXYYe0iUECiR_orkYLBkT1ZG_258ZS7SQ,657
|
|
21
21
|
nbdev/showdoc.py,sha256=PqVprEkc6GPIEK4A0pNV78ENQXpmhV666FN2HTf83t0,10097
|
|
22
22
|
nbdev/sync.py,sha256=ld-lSOmlX1FdnTOzaSHcxKyIuIguI_SpluqfPSH2BZ8,3201
|
|
23
23
|
nbdev/test.py,sha256=_ECBd5fvfGEICIfkTI2S8w8YatL5CaPltCeDSsiH6yw,4435
|
|
24
|
-
nbdev-2.4.
|
|
25
|
-
nbdev-2.4.
|
|
26
|
-
nbdev-2.4.
|
|
27
|
-
nbdev-2.4.
|
|
28
|
-
nbdev-2.4.
|
|
29
|
-
nbdev-2.4.
|
|
24
|
+
nbdev-2.4.3.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
25
|
+
nbdev-2.4.3.dist-info/METADATA,sha256=bKlqOwBLckLVVcTlkJAMXLEfOdl-bukHbH-ozCmxL8Q,10804
|
|
26
|
+
nbdev-2.4.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
27
|
+
nbdev-2.4.3.dist-info/entry_points.txt,sha256=1ADLbIIJxZeLgOD8NpizkPULSsd_fgUQxwAkbGk45b8,1453
|
|
28
|
+
nbdev-2.4.3.dist-info/top_level.txt,sha256=3cWYLMuaXsZjz3TQRGEkWGs9Z8ieEDmYcq8TZS3y3vU,6
|
|
29
|
+
nbdev-2.4.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|