pyloid 0.19.0__py3-none-any.whl → 0.19.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.
pyloid/__init__.py CHANGED
@@ -3,5 +3,6 @@ from .api import PyloidAPI, Bridge
3
3
  from .utils import get_production_path, is_production
4
4
  from .tray import TrayEvent
5
5
  from .timer import PyloidTimer
6
+ from .builder import build_from_spec, cleanup_after_build, create_spec_from_json
6
7
 
7
- __all__ = ['Pyloid', 'PyloidAPI', 'Bridge', 'get_production_path', 'is_production', 'TrayEvent', 'PyloidTimer']
8
+ __all__ = ['Pyloid', 'PyloidAPI', 'Bridge', 'get_production_path', 'is_production', 'TrayEvent', 'PyloidTimer', 'build_from_spec', 'cleanup_after_build', 'create_spec_from_json']
@@ -200,7 +200,7 @@ def cleanup_after_build(json_path):
200
200
  with open(json_path, 'r', encoding='utf-8') as f:
201
201
  config = json.load(f)
202
202
 
203
- cleanup_patterns = config.get('cleanup_patterns', [])
203
+ cleanup_patterns = config.get('after_build', {}).get('cleanup_patterns', [])
204
204
  if not cleanup_patterns:
205
205
  return True
206
206
 
@@ -2,7 +2,7 @@
2
2
  "name": "pyloid-app",
3
3
  "datas": [
4
4
  ["src-pyloid/icons/", "src-pyloid/icons/"],
5
- ["build-front/", "build-front/"]
5
+ ["dist-front/", "dist-front/"]
6
6
  ],
7
7
  "excludes": [
8
8
  "PySide6.QtQml",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyloid
3
- Version: 0.19.0
3
+ Version: 0.19.2
4
4
  Summary:
5
5
  Author: aesthetics-of-record
6
6
  Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
@@ -1,9 +1,9 @@
1
- pyloid/__init__.py,sha256=OOPhOKNQVmAM8hnfTeE7lHzxb8LsFNcgegBAvDrA-vY,293
1
+ pyloid/__init__.py,sha256=QqCfIVNDNI-c-6Pi3SXgHve3miTXEoydABvwgAq3j90,442
2
2
  pyloid/api.py,sha256=A61Kmddh8BlpT3LfA6NbPQNzFmD95vQ4WKX53oKsGYU,2419
3
3
  pyloid/autostart.py,sha256=K7DQYl4LHItvPp0bt1V9WwaaZmVSTeGvadkcwG-KKrI,3899
4
4
  pyloid/browser_window.py,sha256=6Es-DH45URUV6rlCBWj3ZWwrXLMUvqp5700WlU8Sdwo,62984
5
- pyloid/builder/__init__.py,sha256=3BUXXAqNQLN_1T2pU9r_ZYjViq96Ir1tB_C8up6g42k,6533
6
- pyloid/builder/build_config.json,sha256=i7Ltu8J0c-GXvMbPl8-c6PEGWPmI9ltGlHNm-g2mCYw,620
5
+ pyloid/builder/__init__.py,sha256=yYgwdunMdj-FDVNAw3MJydKk954AuaiIx_QcaJqn42E,6556
6
+ pyloid/builder/build_config.json,sha256=2jN7RTn7SwXU6gN2wGiyAmox4fD4P5722Zmi-xk0wgQ,618
7
7
  pyloid/custom/titlebar.py,sha256=itzK9pJbZMQ7BKca9kdbuHMffurrw15UijR6OU03Xsk,3894
8
8
  pyloid/filewatcher.py,sha256=3M5zWVUf1OhlkWJcDFC8ZA9agO4Q-U8WdgGpy6kaVz0,4601
9
9
  pyloid/js_api/event_api.py,sha256=_52yyBonqecmMvJpFW7OMNi_jX8Nrteqw_kI6r-DGG0,951
@@ -14,7 +14,7 @@ pyloid/thread_pool.py,sha256=fKOBb8jMfZn_7crA_fJCno8dObBRZE31EIWaNQ759aw,14616
14
14
  pyloid/timer.py,sha256=RqMsChFUd93cxMVgkHWiIKrci0QDTBgJSTULnAtYT8M,8712
15
15
  pyloid/tray.py,sha256=D12opVEc2wc2T4tK9epaN1oOdeziScsIVNM2uCN7C-A,1710
16
16
  pyloid/utils.py,sha256=mAjuppRXlZAocggf8La00Ae0Qzi4IRL_ovG87x4wagI,3300
17
- pyloid-0.19.0.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
18
- pyloid-0.19.0.dist-info/METADATA,sha256=6Jf4Sk2yDUaic3YVv_Tuoy1JSD2Owrx3LhU7L_ITsIo,3095
19
- pyloid-0.19.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
20
- pyloid-0.19.0.dist-info/RECORD,,
17
+ pyloid-0.19.2.dist-info/LICENSE,sha256=F96EzotgWhhpnQTW2TcdoqrMDir1jyEo6H915tGQ-QE,11524
18
+ pyloid-0.19.2.dist-info/METADATA,sha256=5LeUKevmQT5jh0iIDTg6PWcOb0XtN-9q4YszpP_QwcI,3095
19
+ pyloid-0.19.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
20
+ pyloid-0.19.2.dist-info/RECORD,,