pyloid 0.20.0__tar.gz → 0.20.1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {pyloid-0.20.0 → pyloid-0.20.1}/PKG-INFO +2 -2
- {pyloid-0.20.0 → pyloid-0.20.1}/README.md +1 -1
- {pyloid-0.20.0 → pyloid-0.20.1}/pyproject.toml +1 -1
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/builder/__init__.py +17 -16
- {pyloid-0.20.0 → pyloid-0.20.1}/LICENSE +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/__init__.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/api.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/autostart.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/browser_window.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/builder/build_config.schema.json +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/builder/spec.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/custom/titlebar.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/filewatcher.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/js_api/event_api.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/js_api/window_api.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/monitor.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/pyloid.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/thread_pool.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/timer.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/tray.py +0 -0
- {pyloid-0.20.0 → pyloid-0.20.1}/src/pyloid/utils.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: pyloid
|
3
|
-
Version: 0.20.
|
3
|
+
Version: 0.20.1
|
4
4
|
Summary:
|
5
5
|
Author: aesthetics-of-record
|
6
6
|
Author-email: 111675679+aesthetics-of-record@users.noreply.github.com
|
@@ -86,7 +86,7 @@ This project uses PySide6, which is licensed under the LGPL (Lesser General Publ
|
|
86
86
|
|
87
87
|
## Contributing 🤝
|
88
88
|
|
89
|
-
|
89
|
+
Not Yet
|
90
90
|
|
91
91
|
## Issues
|
92
92
|
|
@@ -25,22 +25,23 @@ def cleanup_before_build(json_path):
|
|
25
25
|
if not dist_dir.exists():
|
26
26
|
raise Exception(f"Cannot find directory to clean: {dist_dir}")
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
28
|
+
print("\033[1;34mCleaning up unnecessary files...\033[0m")
|
29
|
+
exclude_patterns = [p[1:] for p in cleanup_patterns if p.startswith('!')]
|
30
|
+
include_patterns = [p for p in cleanup_patterns if not p.startswith('!')]
|
31
|
+
|
32
|
+
for pattern in include_patterns:
|
33
|
+
matching_files = list(dist_dir.glob(pattern))
|
34
|
+
for file_path in matching_files:
|
35
|
+
if any(file_path.match(p) for p in exclude_patterns):
|
36
|
+
print(f"\033[33mSkipping: {file_path}\033[0m")
|
37
|
+
continue
|
38
|
+
print(f"\033[33mRemoving: {file_path}\033[0m")
|
39
|
+
if file_path.is_dir():
|
40
|
+
shutil.rmtree(file_path)
|
41
|
+
else:
|
42
|
+
file_path.unlink()
|
43
|
+
print(f"\033[32mRemoved: {file_path}\033[0m")
|
44
|
+
|
44
45
|
print("\033[1;32mFile cleanup completed.\033[0m")
|
45
46
|
|
46
47
|
except Exception as e:
|
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
|