nbdev 3.3.23__tar.gz → 3.3.24__tar.gz
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-3.3.23/nbdev.egg-info → nbdev-3.3.24}/PKG-INFO +1 -1
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/__init__.py +1 -1
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/config.py +1 -1
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/quarto.py +3 -3
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/release.py +2 -2
- {nbdev-3.3.23 → nbdev-3.3.24/nbdev.egg-info}/PKG-INFO +1 -1
- {nbdev-3.3.23 → nbdev-3.3.24}/CONTRIBUTING.md +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/LICENSE +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/README.md +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/_modidx.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/clean.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/cli.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/diff.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/doclinks.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/export.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/extract_attachments.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/frontmatter.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/imports.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/maker.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/merge.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/migrate.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/moddocs.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/process.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/processors.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/qmd.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/quarto_render.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/scrubmagics.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/serve.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/serve_drv.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/showdoc.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/skill.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/sync.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev/test.py +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev.egg-info/SOURCES.txt +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev.egg-info/dependency_links.txt +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev.egg-info/entry_points.txt +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev.egg-info/requires.txt +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/nbdev.egg-info/top_level.txt +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/pyproject.toml +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/setup.cfg +0 -0
- {nbdev-3.3.23 → nbdev-3.3.24}/tests/test_quarto_render.py +0 -0
|
@@ -6,7 +6,7 @@ Modules:
|
|
|
6
6
|
- `nbdev.moddocs`: # Module docs: creating them from existing notebooks
|
|
7
7
|
- `nbdev.skill`: Write, read and review nbdev notebooks as source, documentation, examples and tests. You MUST read this before any work on a project with notebooks."""
|
|
8
8
|
|
|
9
|
-
__version__ = "3.3.
|
|
9
|
+
__version__ = "3.3.24"
|
|
10
10
|
|
|
11
11
|
from .doclinks import nbdev_export
|
|
12
12
|
from .showdoc import show_doc
|
|
@@ -360,7 +360,7 @@ def add_init(path=None):
|
|
|
360
360
|
subds = (os.listdir(r/d) for d in ds)
|
|
361
361
|
if _has_py(fs) or any(filter(_has_py, subds)) and not (r/_init).exists(): (r/_init).touch()
|
|
362
362
|
if get_config().get('put_version_in_init', True): update_version(path)
|
|
363
|
-
if get_config().get('update_pyproject', True): update_proj(
|
|
363
|
+
if get_config().get('update_pyproject', True): update_proj(get_config().config_path)
|
|
364
364
|
update_init_mdoc(path)
|
|
365
365
|
|
|
366
366
|
# %% ../nbs/api/01_config.ipynb #a01b98bb
|
|
@@ -63,8 +63,8 @@ def install_quarto():
|
|
|
63
63
|
def install():
|
|
64
64
|
"Install Quarto and the current library"
|
|
65
65
|
install_quarto.__wrapped__()
|
|
66
|
-
|
|
67
|
-
if (
|
|
66
|
+
cfg = get_config()
|
|
67
|
+
if (cfg.lib_path/'__init__.py').exists(): system(f'pip install -e "{cfg.config_path}[dev]"')
|
|
68
68
|
|
|
69
69
|
# %% ../nbs/api/14_quarto.ipynb #b93f6def
|
|
70
70
|
def _pre(p,b=True): return ' ' * (len(p.parts)) + ('- ' if b else ' ')
|
|
@@ -201,7 +201,7 @@ def refresh_quarto_yml():
|
|
|
201
201
|
def _ensure_quarto():
|
|
202
202
|
if shutil.which('quarto'): return
|
|
203
203
|
print("Quarto is not installed. We will download and install it for you.")
|
|
204
|
-
|
|
204
|
+
install_quarto.__wrapped__()
|
|
205
205
|
|
|
206
206
|
# %% ../nbs/api/14_quarto.ipynb #66163c30
|
|
207
207
|
def _chk_nbdev_yml(path):
|
|
@@ -260,7 +260,7 @@ def _get_conda_meta():
|
|
|
260
260
|
'source': {'url':rel['url'], 'sha256':rel['digests']['sha256']}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
_dir = cfg.
|
|
263
|
+
_dir = cfg.config_path
|
|
264
264
|
readme = _dir/'README.md'
|
|
265
265
|
descr = readme.read_text() if readme.exists() else ''
|
|
266
266
|
d2 = {
|
|
@@ -360,7 +360,7 @@ def release_pypi(
|
|
|
360
360
|
verbose:bool=False # Pass --verbose to twine upload
|
|
361
361
|
):
|
|
362
362
|
"Create and upload Python package to PyPI"
|
|
363
|
-
_dir = get_config().
|
|
363
|
+
_dir = get_config().config_path
|
|
364
364
|
q = ' --quiet' if quiet else ''
|
|
365
365
|
p = ' --disable-progress-bar' if quiet else ''
|
|
366
366
|
system(f'cd {_dir} && rm -rf dist build && python -m build{q}')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|