|
@@ -34,6 +34,7 @@ PWD = Path(".").resolve()
|
|
|
|
|
|
EXCLUDED_FILES = [
|
|
EXCLUDED_FILES = [
|
|
"__init__.py",
|
|
"__init__.py",
|
|
|
|
+ "app.py",
|
|
"component.py",
|
|
"component.py",
|
|
"bare.py",
|
|
"bare.py",
|
|
"foreach.py",
|
|
"foreach.py",
|
|
@@ -795,7 +796,11 @@ class PyiGenerator:
|
|
file_targets = []
|
|
file_targets = []
|
|
for target in targets:
|
|
for target in targets:
|
|
target_path = Path(target)
|
|
target_path = Path(target)
|
|
- if target_path.is_file() and target_path.suffix == ".py":
|
|
|
|
|
|
+ if (
|
|
|
|
+ target_path.is_file()
|
|
|
|
+ and target_path.suffix == ".py"
|
|
|
|
+ and target_path.name not in EXCLUDED_FILES
|
|
|
|
+ ):
|
|
file_targets.append(target_path)
|
|
file_targets.append(target_path)
|
|
continue
|
|
continue
|
|
if not target_path.is_dir():
|
|
if not target_path.is_dir():
|