afterpython 0.3.9__tar.gz → 0.3.10__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.
- {afterpython-0.3.9 → afterpython-0.3.10}/PKG-INFO +1 -1
- {afterpython-0.3.9 → afterpython-0.3.10}/pyproject.toml +1 -1
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/build.py +1 -7
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/dev.py +0 -4
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/deploy-workflow-template.yml +5 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/README.md +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/__init__.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/_io/toml.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/_io/yaml.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/_paths.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/_typing.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/__init__.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/build_pdoc.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/content_json.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/faq_json.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/index_md.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/jupyter_notebook.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/llms_txt.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/marimo_notebook.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/markdown.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/metadata.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/builders/url_md.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/__init__.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/add.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/bump.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/check.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/clean.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/commit.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/commitizen.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/format.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/init.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/init_branch_rules.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/install.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/lock.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/pre_commit.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/preview.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/release.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/remove.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/serve.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/start.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/sync.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/commands/update.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/cli/main.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/const.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/main.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/pcu.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/py.typed +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/ci-workflow-template.yml +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/cz-template.toml +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/dependabot-template.yml +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/pdoc/frame.html.jinja2 +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/pre-commit-config-template.yaml +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/release-workflow-template.yml +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/ruff-template.toml +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/tools/_afterpython.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/tools/_git.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/tools/branch_rules.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/tools/commitizen.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/tools/github_actions.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/tools/myst.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/tools/pre_commit.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/tools/pyproject.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/utils.py +0 -0
- {afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/version.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: afterpython
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.10
|
|
4
4
|
Summary: CLI tool to streamline Python package maintenance and generate a dedicated project website
|
|
5
5
|
Keywords: package-maintenance,project-website,static-site-generator,developer-tools,documentation,cli-tool,ci/cd,mystmd,semantic-release,python-packaging
|
|
6
6
|
Author: Stephen Yau
|
|
@@ -171,13 +171,7 @@ def postbuild(dev_build: bool = False):
|
|
|
171
171
|
print(f"Moved: {source} to {destination}")
|
|
172
172
|
|
|
173
173
|
build_content_json()
|
|
174
|
-
|
|
175
|
-
# them here would make MyST re-index without the placeholder and revert
|
|
176
|
-
# to using the first content file as the section index — exactly what
|
|
177
|
-
# the placeholder was created to prevent. `ap dev` cleans them up in
|
|
178
|
-
# its `finally` block after MyST has been shut down.
|
|
179
|
-
if not dev_build:
|
|
180
|
-
delete_placeholder_index_md_files()
|
|
174
|
+
delete_placeholder_index_md_files()
|
|
181
175
|
|
|
182
176
|
website_static = ap.paths.website_path / "static"
|
|
183
177
|
website_static.mkdir(parents=True, exist_ok=True)
|
|
@@ -11,7 +11,6 @@ import time
|
|
|
11
11
|
import click
|
|
12
12
|
from click.exceptions import Exit
|
|
13
13
|
|
|
14
|
-
from afterpython.builders import delete_placeholder_index_md_files
|
|
15
14
|
from afterpython.cli.commands.build import postbuild, prebuild
|
|
16
15
|
from afterpython.const import CONTENT_TYPES
|
|
17
16
|
from afterpython.utils import find_available_port, find_node_env
|
|
@@ -219,6 +218,3 @@ def dev(
|
|
|
219
218
|
pass
|
|
220
219
|
finally:
|
|
221
220
|
cleanup_processes()
|
|
222
|
-
# Now that MyST watchers are gone, clean up the placeholders
|
|
223
|
-
# postbuild() intentionally left behind for dev mode.
|
|
224
|
-
delete_placeholder_index_md_files()
|
{afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/deploy-workflow-template.yml
RENAMED
|
@@ -63,6 +63,11 @@ jobs:
|
|
|
63
63
|
- name: Install afterpython
|
|
64
64
|
run: uv pip install --system afterpython
|
|
65
65
|
|
|
66
|
+
- name: Install marimo
|
|
67
|
+
# Needed by `ap build` when afterpython/README.py is a marimo notebook;
|
|
68
|
+
# afterpython shells out to the `marimo` CLI for the WASM export.
|
|
69
|
+
run: uv pip install --system marimo
|
|
70
|
+
|
|
66
71
|
- name: Install website dependencies
|
|
67
72
|
run: pnpm install
|
|
68
73
|
working-directory: ./afterpython/_website
|
|
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
|
|
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
|
{afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/pre-commit-config-template.yaml
RENAMED
|
File without changes
|
{afterpython-0.3.9 → afterpython-0.3.10}/src/afterpython/templates/release-workflow-template.yml
RENAMED
|
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
|