effectual 0.5.3__py3-none-any.whl → 0.5.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.
- effectual/build.py +5 -5
- effectual/config.py +2 -2
- {effectual-0.5.3.dist-info → effectual-0.5.4.dist-info}/METADATA +1 -1
- effectual-0.5.4.dist-info/RECORD +11 -0
- effectual-0.5.3.dist-info/RECORD +0 -11
- {effectual-0.5.3.dist-info → effectual-0.5.4.dist-info}/WHEEL +0 -0
- {effectual-0.5.3.dist-info → effectual-0.5.4.dist-info}/entry_points.txt +0 -0
- {effectual-0.5.3.dist-info → effectual-0.5.4.dist-info}/licenses/LICENSE +0 -0
effectual/build.py
CHANGED
@@ -65,8 +65,9 @@ def bundleFiles(
|
|
65
65
|
|
66
66
|
|
67
67
|
def dependencies(minify: bool) -> None:
|
68
|
-
|
69
|
-
|
68
|
+
packages: list[str] = (
|
69
|
+
loadToml("./pyproject.toml").get("project").get("dependencies")
|
70
|
+
) # type: ignore
|
70
71
|
|
71
72
|
arguments: list[str] = ["--no-compile", "--quiet", "--no-binary=none", "--no-cache"]
|
72
73
|
|
@@ -111,7 +112,7 @@ def main() -> None:
|
|
111
112
|
RuntimeError: In the event there is no source directory
|
112
113
|
"""
|
113
114
|
|
114
|
-
configData: dict[
|
115
|
+
configData: dict[str, Any] = loadConfig("./pyproject.toml")
|
115
116
|
|
116
117
|
sourceDirectory: Path = Path(configData.get("sourceDirectory", "src/"))
|
117
118
|
outputDirectory: Path = Path(configData.get("outputDirectory", "out/"))
|
@@ -138,8 +139,7 @@ def main() -> None:
|
|
138
139
|
currentHash["hashes"]["lock"] = getHash("./uv.lock")
|
139
140
|
|
140
141
|
if uvHashPath.exists():
|
141
|
-
|
142
|
-
lastHash: dict[Any, Any] = loadToml(file).get("hashes")
|
142
|
+
lastHash: dict[str, Any] = loadToml(uvHashPath).get("hashes")
|
143
143
|
if currentHash["hashes"] != lastHash:
|
144
144
|
with open(uvHashPath, "w") as file:
|
145
145
|
dumpHashes(currentHash, file)
|
effectual/config.py
CHANGED
@@ -4,11 +4,11 @@ from typing import Any
|
|
4
4
|
import rtoml
|
5
5
|
|
6
6
|
|
7
|
-
def loadToml(tomlFile: str
|
7
|
+
def loadToml(tomlFile: str) -> dict[str, Any]:
|
8
8
|
"""Loads a toml file from a specific path to a dictionary
|
9
9
|
|
10
10
|
Args:
|
11
|
-
pathToToml (str
|
11
|
+
pathToToml (str): Path of a toml file
|
12
12
|
|
13
13
|
Raises:
|
14
14
|
RuntimeError: Toml file is incorrectly configured
|
@@ -0,0 +1,11 @@
|
|
1
|
+
effectual/__init__.py,sha256=9hA5S-390BtY7m-NojGHioaBJJ8vEM3IXuMvmzWBv0E,407
|
2
|
+
effectual/build.py,sha256=Ub_EL71GcclEoG0zJz20aomm-8iwOFxh6wS01W5PlK8,5556
|
3
|
+
effectual/colors.py,sha256=na7SEUSXM7aHvEKeIAn5shrZJtrBYq_ZUp121GRO_PQ,1411
|
4
|
+
effectual/config.py,sha256=3vMO_r9jf3GX7VMnZBbedk-g9rgUkfwa57bpq7yLQiQ,1767
|
5
|
+
effectual/developer.py,sha256=ERbmZuaUzSVzKgWNUWMa1H7K39xfBNeHolUEdUKcOWc,2052
|
6
|
+
effectual/minifier.py,sha256=7GHgQWzin2J1W62yMReHXaYIChXc3f0rNJA-yY4LDEI,1313
|
7
|
+
effectual-0.5.4.dist-info/METADATA,sha256=S46Zge-cvbJWjq5mcxt_CW5P953iEnDf1pYROylBqIE,2560
|
8
|
+
effectual-0.5.4.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
9
|
+
effectual-0.5.4.dist-info/entry_points.txt,sha256=1W7EjlLZkw_Wz8V1SgdzzDis-CRE5IINyg74upsB0zU,40
|
10
|
+
effectual-0.5.4.dist-info/licenses/LICENSE,sha256=RrVXS_K_FctToNx9BLuZm9vbcpTi3PHNzWMaz7QyVeg,1082
|
11
|
+
effectual-0.5.4.dist-info/RECORD,,
|
effectual-0.5.3.dist-info/RECORD
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
effectual/__init__.py,sha256=9hA5S-390BtY7m-NojGHioaBJJ8vEM3IXuMvmzWBv0E,407
|
2
|
-
effectual/build.py,sha256=PfnE6A8OfrVNV5AFxwqQIpNwr7OxbfhjkIzkcwSRM0M,5638
|
3
|
-
effectual/colors.py,sha256=na7SEUSXM7aHvEKeIAn5shrZJtrBYq_ZUp121GRO_PQ,1411
|
4
|
-
effectual/config.py,sha256=HthkvUSOvkEN9N2_Eg5z4OU1jLLixLB5mmv-Npf3f4o,1815
|
5
|
-
effectual/developer.py,sha256=ERbmZuaUzSVzKgWNUWMa1H7K39xfBNeHolUEdUKcOWc,2052
|
6
|
-
effectual/minifier.py,sha256=7GHgQWzin2J1W62yMReHXaYIChXc3f0rNJA-yY4LDEI,1313
|
7
|
-
effectual-0.5.3.dist-info/METADATA,sha256=J5La4SFmCBy5DYzkzagOQqUbysivbsoknc1RAV_vV-Y,2560
|
8
|
-
effectual-0.5.3.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
|
9
|
-
effectual-0.5.3.dist-info/entry_points.txt,sha256=1W7EjlLZkw_Wz8V1SgdzzDis-CRE5IINyg74upsB0zU,40
|
10
|
-
effectual-0.5.3.dist-info/licenses/LICENSE,sha256=RrVXS_K_FctToNx9BLuZm9vbcpTi3PHNzWMaz7QyVeg,1082
|
11
|
-
effectual-0.5.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|