afterpython 0.3.9__py3-none-any.whl → 0.3.10__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.
@@ -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
- # In dev mode the MyST `start` server is watching these files. Deleting
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()
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afterpython
3
- Version: 0.3.9
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
@@ -16,13 +16,13 @@ afterpython/builders/metadata.py,sha256=EueKoYWM__Hb9MwX0KYejxJvouoaAxD1oz9AP-Na
16
16
  afterpython/builders/url_md.py,sha256=uuW3YCyphd-Qvl9Yopv48utu6y1tyfJHNc25sS-O6Yw,3526
17
17
  afterpython/cli/__init__.py,sha256=G4AB-rllhmr7tURFc5cXJfkjZZ2bXtMBg3oy4zUGEFw,84
18
18
  afterpython/cli/commands/add.py,sha256=Ppp4msdvOwN9_-fdG5-b0-IV9p0Eef9CiIEU3srUjYk,1792
19
- afterpython/cli/commands/build.py,sha256=gKrpRIy1DNAlnP6o0PBZyis8arjAN6YEauhw2uVkO9c,12182
19
+ afterpython/cli/commands/build.py,sha256=h0AaZuhjuxD_2Iu_CHD-3-OMBbi-ncAYuMUIR2pha1k,11798
20
20
  afterpython/cli/commands/bump.py,sha256=9fR-wShNKhXbW2JgMExPlyI2n14TfQOtowAuALp-N-8,4122
21
21
  afterpython/cli/commands/check.py,sha256=lrPaVThAwxxnczu-VOZT7dd7aKjstnMQfX9UpZY3Lxs,1058
22
22
  afterpython/cli/commands/clean.py,sha256=havP43ZC1AKFzvscsRMF_to6TvOwruxGA5qzr6dMHvg,2529
23
23
  afterpython/cli/commands/commit.py,sha256=9QOKyt4tfTJzZEdHEPAdpUc4stYMSvG3-31uADuBxn4,1420
24
24
  afterpython/cli/commands/commitizen.py,sha256=H3jewz4VkZi5FYTWw3USVM3XosRx12kPShOQGxD3LNM,842
25
- afterpython/cli/commands/dev.py,sha256=M04QgGTksIFMDglo2iUyTvFWiE-o5o4JsXqLu9DGoXY,7281
25
+ afterpython/cli/commands/dev.py,sha256=LVv6WUB1RNe8w7yAQS_1TQEEn_wklbJOuduapYlg2FA,7039
26
26
  afterpython/cli/commands/format.py,sha256=VFwCG9KDTF6j4Y_Ewp4_RpS8uNBQNOAj9HU_G97my5A,710
27
27
  afterpython/cli/commands/init.py,sha256=t-SKqmPOSpQu4821PNar0bQ6EjTX3qwQr2trAULns94,3877
28
28
  afterpython/cli/commands/init_branch_rules.py,sha256=fzAm8D5qbW3u4bEMpqPuRgO-0akuCGG7pu09JlKhYn4,243
@@ -44,7 +44,7 @@ afterpython/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
44
  afterpython/templates/ci-workflow-template.yml,sha256=-7BVbNArhaUNtJzxdfIX9scCQcba7LoWHPJXLBm-OxM,7115
45
45
  afterpython/templates/cz-template.toml,sha256=2qwbQLb0nbZaA63oWXFFzvzPNBsFZHATL1C2rdNdjjs,185
46
46
  afterpython/templates/dependabot-template.yml,sha256=CBQEgh8EsXw2X7IqzGtFI7lVT9liF6PW4DvGLB0X2LY,1136
47
- afterpython/templates/deploy-workflow-template.yml,sha256=o9blTGoM_KLB3wZUQcfdjxSOz08ldNJDfv1hA7FEbp8,2397
47
+ afterpython/templates/deploy-workflow-template.yml,sha256=3N8obLgDIKmTkWcr1NEqYVMDCfhllPDc_g05-T0AVLI,2625
48
48
  afterpython/templates/pdoc/frame.html.jinja2,sha256=GX4pNSuYC4Fq9hvZ01WyaBQes4FyNDOx5Ra4MNLr0eg,250
49
49
  afterpython/templates/pre-commit-config-template.yaml,sha256=3QkZekg2kK04-Dp8nGc9AsqEdpnh10EcdD6pBhyKpRQ,988
50
50
  afterpython/templates/release-workflow-template.yml,sha256=-vJJlbsroq1BGh0vN1tqJzh8uncn7_73OYn_GTVswCY,1606
@@ -59,7 +59,7 @@ afterpython/tools/pre_commit.py,sha256=oNsrUkPI13rSSBSyhyTTKPnQGhDxLIPYhxu6kL0fD
59
59
  afterpython/tools/pyproject.py,sha256=hz-DOf-pkGBF2m_RqEZipAaO-NDbsLxrrc65LWAIwLA,3698
60
60
  afterpython/utils.py,sha256=fVa3jIzCvhn7QA7N0M6d_pvojpPFrN-hae8trUYhPKU,11701
61
61
  afterpython/version.py,sha256=hihRV1S-gc1m46OaXD32ikkEkqzs-Gtq7AcAqOQV-wY,1603
62
- afterpython-0.3.9.dist-info/WHEEL,sha256=f5fWSvWsg5Knq5GWa6t1nJIug0Tqo69GqAWD_9LbBKw,81
63
- afterpython-0.3.9.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
64
- afterpython-0.3.9.dist-info/METADATA,sha256=C7LnowtwFEhNTLvjddSpDfcUx3Lv7LWAyHghKBPIr_Q,6180
65
- afterpython-0.3.9.dist-info/RECORD,,
62
+ afterpython-0.3.10.dist-info/WHEEL,sha256=f5fWSvWsg5Knq5GWa6t1nJIug0Tqo69GqAWD_9LbBKw,81
63
+ afterpython-0.3.10.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
64
+ afterpython-0.3.10.dist-info/METADATA,sha256=2sC2DKjDGAOvPkuoESl82akQUx27-qik117DYuKuIHE,6181
65
+ afterpython-0.3.10.dist-info/RECORD,,