wexample-wex-addon-dev-python 7.2.1__py3-none-any.whl → 7.3.1__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.
- wexample_wex_addon_dev_python/workdir/python_package_workdir.py +21 -0
- {wexample_wex_addon_dev_python-7.2.1.dist-info → wexample_wex_addon_dev_python-7.3.1.dist-info}/METADATA +4 -4
- {wexample_wex_addon_dev_python-7.2.1.dist-info → wexample_wex_addon_dev_python-7.3.1.dist-info}/RECORD +5 -5
- {wexample_wex_addon_dev_python-7.2.1.dist-info → wexample_wex_addon_dev_python-7.3.1.dist-info}/WHEEL +0 -0
- {wexample_wex_addon_dev_python-7.2.1.dist-info → wexample_wex_addon_dev_python-7.3.1.dist-info}/entry_points.txt +0 -0
|
@@ -30,6 +30,17 @@ class PythonPackageWorkdir(PythonWorkdir):
|
|
|
30
30
|
import shutil
|
|
31
31
|
|
|
32
32
|
super().check_publish_prerequisites()
|
|
33
|
+
|
|
34
|
+
pdm_build_dir = self.get_path() / ".pdm-build"
|
|
35
|
+
if pdm_build_dir.exists():
|
|
36
|
+
try:
|
|
37
|
+
shutil.rmtree(pdm_build_dir)
|
|
38
|
+
except PermissionError:
|
|
39
|
+
raise RuntimeError(
|
|
40
|
+
f"Cannot remove '{pdm_build_dir}' (permission denied — likely created by root). "
|
|
41
|
+
f"Run: sudo rm -rf '{pdm_build_dir}'"
|
|
42
|
+
)
|
|
43
|
+
|
|
33
44
|
if shutil.which("pdm"):
|
|
34
45
|
return
|
|
35
46
|
|
|
@@ -104,6 +115,15 @@ class PythonPackageWorkdir(PythonWorkdir):
|
|
|
104
115
|
},
|
|
105
116
|
)
|
|
106
117
|
|
|
118
|
+
children.append(
|
|
119
|
+
{
|
|
120
|
+
"name": ".pdm-build",
|
|
121
|
+
"type": DiskItemType.DIRECTORY,
|
|
122
|
+
"should_exist": True,
|
|
123
|
+
"mode": {"permissions": "755", "owner": "~"},
|
|
124
|
+
},
|
|
125
|
+
)
|
|
126
|
+
|
|
107
127
|
# Retrieve the '.gitignore' configuration or create it if it doesn't exist
|
|
108
128
|
config_gitignore = array_dict_get_by("name", ".gitignore", children)
|
|
109
129
|
if config_gitignore is not None:
|
|
@@ -118,6 +138,7 @@ class PythonPackageWorkdir(PythonWorkdir):
|
|
|
118
138
|
"/build/",
|
|
119
139
|
"/dist/",
|
|
120
140
|
"/pip-wheel-metadata/",
|
|
141
|
+
"/.pdm-build/",
|
|
121
142
|
],
|
|
122
143
|
"Virtual environments": [
|
|
123
144
|
".env",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wexample-wex-addon-dev-python
|
|
3
|
-
Version: 7.
|
|
3
|
+
Version: 7.3.1
|
|
4
4
|
Summary: Python dev addon for wex
|
|
5
5
|
Author-Email: weeger <contact@wexample.com>
|
|
6
6
|
License: MIT
|
|
@@ -16,7 +16,7 @@ Requires-Dist: networkx
|
|
|
16
16
|
Requires-Dist: pylint
|
|
17
17
|
Requires-Dist: pyright
|
|
18
18
|
Requires-Dist: wexample-filestate-python>=6.4.0
|
|
19
|
-
Requires-Dist: wexample-wex-addon-app>=
|
|
19
|
+
Requires-Dist: wexample-wex-addon-app>=11.0.0
|
|
20
20
|
Provides-Extra: dev
|
|
21
21
|
Requires-Dist: pytest; extra == "dev"
|
|
22
22
|
Requires-Dist: pytest-cov; extra == "dev"
|
|
@@ -24,7 +24,7 @@ Description-Content-Type: text/markdown
|
|
|
24
24
|
|
|
25
25
|
# wex_addon_dev_python
|
|
26
26
|
|
|
27
|
-
Version: 7.
|
|
27
|
+
Version: 7.3.1
|
|
28
28
|
|
|
29
29
|
Python dev addon for wex
|
|
30
30
|
|
|
@@ -111,7 +111,7 @@ Visit the [Wexample Suite documentation](https://docs.wexample.com) for the comp
|
|
|
111
111
|
- pylint:
|
|
112
112
|
- pyright:
|
|
113
113
|
- wexample-filestate-python: >=6.4.0
|
|
114
|
-
- wexample-wex-addon-app: >=
|
|
114
|
+
- wexample-wex-addon-app: >=11.0.0
|
|
115
115
|
|
|
116
116
|
## Versioning & Compatibility Policy
|
|
117
117
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
wexample_wex_addon_dev_python-7.
|
|
2
|
-
wexample_wex_addon_dev_python-7.
|
|
3
|
-
wexample_wex_addon_dev_python-7.
|
|
1
|
+
wexample_wex_addon_dev_python-7.3.1.dist-info/METADATA,sha256=lA4TAmpuoo7ZBWI8sSAeYxs3l_M1YbYxOZ5gjEfkjTs,11755
|
|
2
|
+
wexample_wex_addon_dev_python-7.3.1.dist-info/WHEEL,sha256=Z36eTX6lG3PITRleSd5hAZHCcz52yg3c0JQVxKBbLW0,90
|
|
3
|
+
wexample_wex_addon_dev_python-7.3.1.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
|
4
4
|
wexample_wex_addon_dev_python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
wexample_wex_addon_dev_python/__pycache__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
wexample_wex_addon_dev_python/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -43,7 +43,7 @@ wexample_wex_addon_dev_python/workdir/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
43
43
|
wexample_wex_addon_dev_python/workdir/__pycache__/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
44
44
|
wexample_wex_addon_dev_python/workdir/mixin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
45
45
|
wexample_wex_addon_dev_python/workdir/mixin/with_profiling_python_workdir_mixin.py,sha256=rWf_AMq4YM_vvKYZiXyhFeAz2xg0KMt_u-1FJACtvjc,3042
|
|
46
|
-
wexample_wex_addon_dev_python/workdir/python_package_workdir.py,sha256=
|
|
46
|
+
wexample_wex_addon_dev_python/workdir/python_package_workdir.py,sha256=DKTNvxVUDdcDU1w_g7C4DD44CEQc0tK3sgeOe7m0rKQ,19532
|
|
47
47
|
wexample_wex_addon_dev_python/workdir/python_packages_suite_workdir.py,sha256=ICHHewLpsXiheYzGDEahphBryH98ZVezWzSAy6A5w5I,2874
|
|
48
48
|
wexample_wex_addon_dev_python/workdir/python_workdir.py,sha256=56OMSaDHribAQjS5mqT457WJ7R1DnRLDzOBWZHIhMaU,19070
|
|
49
|
-
wexample_wex_addon_dev_python-7.
|
|
49
|
+
wexample_wex_addon_dev_python-7.3.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|