afterpython 0.5.1__py3-none-any.whl → 0.5.2__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.
@@ -191,14 +191,13 @@ def postbuild(dev_build: bool = False):
191
191
  website_static / content_type,
192
192
  is_copy=True,
193
193
  )
194
- # for dev build, copy the files (mainly images, e.g. thumbnails) in site/public/ to afterpython/_website/static/{content_type}/build
195
- else:
196
- _move_files(
197
- afterpython_content_build / "site" / "public",
198
- # add build/ to mimic the structure of the production build
199
- website_static / content_type / "build",
200
- is_copy=True,
201
- )
194
+ # for both builds, copy the files (mainly images, e.g. thumbnails) in site/public/ to afterpython/_website/static/{content_type}/build,
195
+ # where convert_paths() points the listings' thumbnails. The html export keeps its own copies in _public/, which its pages use
196
+ _move_files(
197
+ afterpython_content_build / "site" / "public",
198
+ website_static / content_type / "build",
199
+ is_copy=True,
200
+ )
202
201
 
203
202
  # Copy all files (e.g. metadata.json, blog.json etc.) from afterpython/_build to afterpython/_website/static/
204
203
  _move_files(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: afterpython
3
- Version: 0.5.1
3
+ Version: 0.5.2
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
@@ -20,7 +20,7 @@ afterpython/builders/site_data.py,sha256=29p2Hg1RBraZLd9l4jofvCq_QT43ny209-2TP5M
20
20
  afterpython/builders/url_md.py,sha256=MfXSy0f44J72OlHASir-Xscqq1onA10vtqUO_L4b1xM,3949
21
21
  afterpython/cli/__init__.py,sha256=G4AB-rllhmr7tURFc5cXJfkjZZ2bXtMBg3oy4zUGEFw,84
22
22
  afterpython/cli/commands/add.py,sha256=Ppp4msdvOwN9_-fdG5-b0-IV9p0Eef9CiIEU3srUjYk,1792
23
- afterpython/cli/commands/build.py,sha256=DtieJxK02QGw95-iqXCLrLfYQvWPSMxd6XvlZOeyJzs,12599
23
+ afterpython/cli/commands/build.py,sha256=lSq_7XpJuUmNx1ChaBh1pPcdotI0OypVLHlFb8YfI3A,12627
24
24
  afterpython/cli/commands/bump.py,sha256=ULrZmQuQ-oJSYXNyEyCg3VxrHDhzwOSMv37Uk1fQlgs,13354
25
25
  afterpython/cli/commands/changelog.py,sha256=R4GdvJlnfd8joVnRRon9y-eM8RfSIxE1GCOspMrxXEw,1597
26
26
  afterpython/cli/commands/check.py,sha256=QBt_KHlD72QJmBordcsoGKvyX4Iuj7ezjFStuNZVaOk,1694
@@ -69,7 +69,7 @@ afterpython/tools/prek.py,sha256=NEEGf8alTt9MIelAJ8yxWD-V4mnM_pJ7oHgVQG8pbzo,354
69
69
  afterpython/tools/pyproject.py,sha256=Slhxo-Z9M7Gn9ZGL2BKmbPONpDgAJ1g33TdiulxwEyQ,3700
70
70
  afterpython/utils.py,sha256=JyNFhanWllmuE3Ax5URi6_UxVgM9GsqgGwceg4PbFlo,12572
71
71
  afterpython/version.py,sha256=hihRV1S-gc1m46OaXD32ikkEkqzs-Gtq7AcAqOQV-wY,1603
72
- afterpython-0.5.1.dist-info/WHEEL,sha256=MWx7psoF7KNST9G72pGtiBYuaXRXQXBk9pw5R6FzYko,80
73
- afterpython-0.5.1.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
74
- afterpython-0.5.1.dist-info/METADATA,sha256=hjrOb11BEcKtsFW-me9zkeahaGlveJkJ8WN2RnGE8Bk,6416
75
- afterpython-0.5.1.dist-info/RECORD,,
72
+ afterpython-0.5.2.dist-info/WHEEL,sha256=MWx7psoF7KNST9G72pGtiBYuaXRXQXBk9pw5R6FzYko,80
73
+ afterpython-0.5.2.dist-info/entry_points.txt,sha256=roa0PDgBueM1JPbRG0G2OSxzaN394OUL_oS9iEwVLBc,80
74
+ afterpython-0.5.2.dist-info/METADATA,sha256=1R0C227Jkpl1TyQaziHgXesC6eOK_RVmrsgwT2Aobfw,6416
75
+ afterpython-0.5.2.dist-info/RECORD,,