python-package-folder 5.1.2__py3-none-any.whl → 5.1.4__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.
- python_package_folder/subfolder_build.py +13 -3
- {python_package_folder-5.1.2.dist-info → python_package_folder-5.1.4.dist-info}/METADATA +1 -1
- {python_package_folder-5.1.2.dist-info → python_package_folder-5.1.4.dist-info}/RECORD +6 -6
- {python_package_folder-5.1.2.dist-info → python_package_folder-5.1.4.dist-info}/WHEEL +0 -0
- {python_package_folder-5.1.2.dist-info → python_package_folder-5.1.4.dist-info}/entry_points.txt +0 -0
- {python_package_folder-5.1.2.dist-info → python_package_folder-5.1.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -296,6 +296,10 @@ class SubfolderBuildConfig:
|
|
|
296
296
|
|
|
297
297
|
# Read exclude patterns from root pyproject.toml and inject them
|
|
298
298
|
exclude_patterns = read_exclude_patterns(original_pyproject)
|
|
299
|
+
print(
|
|
300
|
+
f"INFO: Read exclude patterns from {original_pyproject}: {exclude_patterns}",
|
|
301
|
+
file=sys.stderr,
|
|
302
|
+
)
|
|
299
303
|
if exclude_patterns:
|
|
300
304
|
adjusted_content = self._inject_exclude_patterns(adjusted_content, exclude_patterns)
|
|
301
305
|
|
|
@@ -353,6 +357,13 @@ class SubfolderBuildConfig:
|
|
|
353
357
|
|
|
354
358
|
original_content = original_pyproject.read_text(encoding="utf-8")
|
|
355
359
|
|
|
360
|
+
# Read exclude patterns from root pyproject.toml BEFORE moving the file
|
|
361
|
+
exclude_patterns = read_exclude_patterns(original_pyproject)
|
|
362
|
+
print(
|
|
363
|
+
f"INFO: Read exclude patterns from {original_pyproject}: {exclude_patterns}",
|
|
364
|
+
file=sys.stderr,
|
|
365
|
+
)
|
|
366
|
+
|
|
356
367
|
# Store reference to original
|
|
357
368
|
self.original_pyproject_path = original_pyproject
|
|
358
369
|
|
|
@@ -387,9 +398,6 @@ class SubfolderBuildConfig:
|
|
|
387
398
|
file=sys.stderr,
|
|
388
399
|
)
|
|
389
400
|
|
|
390
|
-
# Read exclude patterns from root pyproject.toml
|
|
391
|
-
exclude_patterns = read_exclude_patterns(original_pyproject)
|
|
392
|
-
|
|
393
401
|
if data:
|
|
394
402
|
# Modify using parsed data
|
|
395
403
|
if "project" in data:
|
|
@@ -975,7 +983,9 @@ class SubfolderBuildConfig:
|
|
|
975
983
|
Args:
|
|
976
984
|
exclude_patterns: List of regex patterns to match against path components
|
|
977
985
|
"""
|
|
986
|
+
print(f"INFO: Exclude patterns: {exclude_patterns}", file=sys.stderr)
|
|
978
987
|
if not exclude_patterns:
|
|
988
|
+
print("INFO: No exclude patterns to apply", file=sys.stderr)
|
|
979
989
|
return
|
|
980
990
|
|
|
981
991
|
# Compile regex patterns for efficiency
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-package-folder
|
|
3
|
-
Version: 5.1.
|
|
3
|
+
Version: 5.1.4
|
|
4
4
|
Summary: Python package to automatically package and build a folder, fetching all relevant dependencies.
|
|
5
5
|
Project-URL: Repository, https://github.com/alelom/python-package-folder
|
|
6
6
|
Author-email: Alessio Lombardi <work@alelom.com>
|
|
@@ -6,13 +6,13 @@ python_package_folder/manager.py,sha256=Z9RPg0ZQ7jZhmEXfCzX9OrD_oiA5p2Pnm5Y9tgW3
|
|
|
6
6
|
python_package_folder/publisher.py,sha256=TSjdOvxvnWLbJCnduTK_xZBRfvsrq9kpEH-sfebeWkU,13507
|
|
7
7
|
python_package_folder/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
python_package_folder/python_package_folder.py,sha256=wVr7EF3fsT9XSSViyoL2CwSJs-pNKUoUBz86g9JCl70,12444
|
|
9
|
-
python_package_folder/subfolder_build.py,sha256=
|
|
9
|
+
python_package_folder/subfolder_build.py,sha256=LBG2IahvjBTIGSrxPCxr-cv-mD36qHQOXvxDGWs5n6c,50231
|
|
10
10
|
python_package_folder/types.py,sha256=3yeSRR5p_3PDKEAaehW_RJ7NwJHexOIeA08bGaT1iSY,2368
|
|
11
11
|
python_package_folder/utils.py,sha256=b6Ukcc0fctXdxS5zhGLS86kqn0vz1yOEK7XjCY9fjfY,5621
|
|
12
12
|
python_package_folder/version.py,sha256=kIDP6S9trEfs9gj7lBYGxrWm4RPssRla24UtlO9Jkh4,9111
|
|
13
13
|
python_package_folder/version_calculator.py,sha256=KD1tRrdGtDwAwdqbBBdKAskVEDdwFOEDcucHzj0ksWQ,21818
|
|
14
|
-
python_package_folder-5.1.
|
|
15
|
-
python_package_folder-5.1.
|
|
16
|
-
python_package_folder-5.1.
|
|
17
|
-
python_package_folder-5.1.
|
|
18
|
-
python_package_folder-5.1.
|
|
14
|
+
python_package_folder-5.1.4.dist-info/METADATA,sha256=fnQ2pgcupL7lp__jX_2chnj5cGhl1Y8iPlIKLoL1O98,7838
|
|
15
|
+
python_package_folder-5.1.4.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
|
|
16
|
+
python_package_folder-5.1.4.dist-info/entry_points.txt,sha256=ttu4wAhoYSHGhWQNercLz9IVTTpXxhVlRA9vSTvaLe0,91
|
|
17
|
+
python_package_folder-5.1.4.dist-info/licenses/LICENSE,sha256=vNgRJh8YiecqZoZld7TtwPI5I72HIymKD9g32fiJjCE,1073
|
|
18
|
+
python_package_folder-5.1.4.dist-info/RECORD,,
|
|
File without changes
|
{python_package_folder-5.1.2.dist-info → python_package_folder-5.1.4.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{python_package_folder-5.1.2.dist-info → python_package_folder-5.1.4.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|