effectual 0.4.0__py3-none-any.whl → 0.5.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
effectual/build.py CHANGED
@@ -5,12 +5,12 @@ import zipfile
5
5
  from pathlib import Path
6
6
  from time import perf_counter
7
7
  from typing import Any
8
+ from watch_lite import getHash
8
9
 
9
10
  import rtoml
10
11
 
11
12
  from .colors import completeColor, fileColor, folderColor, tagColor
12
13
  from .config import loadConfig
13
- from .fileHash import getFilehash
14
14
  from .minifier import minifyFile, minifyToString
15
15
 
16
16
 
@@ -135,8 +135,8 @@ def main() -> None:
135
135
 
136
136
  Path("./.effectual_cache/").mkdir(parents=True, exist_ok=True)
137
137
  currentHash["hashes"] = dict()
138
- currentHash["hashes"]["pyproject"] = getFilehash(Path("./pyproject.toml"))
139
- currentHash["hashes"]["lock"] = getFilehash(Path("./uv.lock"))
138
+ currentHash["hashes"]["pyproject"] = getHash("./pyproject.toml")
139
+ currentHash["hashes"]["lock"] = getHash("./uv.lock")
140
140
 
141
141
  if uvHashPath.exists():
142
142
  with open(uvHashPath, "r") as file:
effectual/developer.py CHANGED
@@ -3,10 +3,10 @@ import time
3
3
  import zipfile
4
4
  from pathlib import Path
5
5
  from typing import Any
6
+ from watch_lite import getAllHashes
6
7
 
7
8
  from .colors import completeColor, fileColor, tagColor
8
9
  from .config import loadConfig
9
- from .fileHash import getAllHashes
10
10
 
11
11
 
12
12
  def bundle(sourceDirectory: Path, outputFile: Path) -> None:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: effectual
3
- Version: 0.4.0
3
+ Version: 0.5.0
4
4
  Summary: A python package/script bundler
5
5
  Project-URL: Homepage, https://github.com/effectualpy/effectual
6
6
  Author-email: jake <jakewdr@proton.me>
@@ -18,6 +18,7 @@ Requires-Dist: python-minifier>=2.11.3
18
18
  Requires-Dist: rtoml>=0.11.0
19
19
  Requires-Dist: ruff>=0.8.0
20
20
  Requires-Dist: termcolor>=2.4.0
21
+ Requires-Dist: watch-lite>=0.1.1
21
22
  Description-Content-Type: text/markdown
22
23
 
23
24
  # effectual
@@ -1,12 +1,12 @@
1
1
  effectual/__init__.py,sha256=9hA5S-390BtY7m-NojGHioaBJJ8vEM3IXuMvmzWBv0E,407
2
- effectual/build.py,sha256=LjPsTegLoxf2Ta3VwOV2LcMITf7ZEdPOuIcAJ0RXq7M,5669
2
+ effectual/build.py,sha256=WlgaXvu3dt6Uv1QpYkk9P3uUfYq0-5rHZTpiucPhpsg,5646
3
3
  effectual/colors.py,sha256=na7SEUSXM7aHvEKeIAn5shrZJtrBYq_ZUp121GRO_PQ,1411
4
4
  effectual/config.py,sha256=otTF0HIBwECrHpXsB-e_rlxDZg5uRwIIoUPC37TZl8Q,1165
5
- effectual/developer.py,sha256=-S55Vllozoi-WlJKjD2SXiuLuOuGEHnsmz1I3S5vIUo,2053
5
+ effectual/developer.py,sha256=thZA_j6EnjryBWggBNSHf0h0v2jrWWH9aZ0XDAaxSBI,2054
6
6
  effectual/fileHash.py,sha256=ftFDY0RY1RF-IQxgbS9HfJp9mzgc3I6Acl69CIKUL2o,848
7
7
  effectual/minifier.py,sha256=7GHgQWzin2J1W62yMReHXaYIChXc3f0rNJA-yY4LDEI,1313
8
- effectual-0.4.0.dist-info/METADATA,sha256=heiu95UEveT9SrhVpai8S_fLEToTc56u55kjSqWQTxo,2527
9
- effectual-0.4.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
10
- effectual-0.4.0.dist-info/entry_points.txt,sha256=1W7EjlLZkw_Wz8V1SgdzzDis-CRE5IINyg74upsB0zU,40
11
- effectual-0.4.0.dist-info/licenses/LICENSE,sha256=RrVXS_K_FctToNx9BLuZm9vbcpTi3PHNzWMaz7QyVeg,1082
12
- effectual-0.4.0.dist-info/RECORD,,
8
+ effectual-0.5.0.dist-info/METADATA,sha256=qHxmgd5e2xF0yrFznAHfAnF5RS5KRFwRU_5qekwMu5U,2560
9
+ effectual-0.5.0.dist-info/WHEEL,sha256=C2FUgwZgiLbznR-k0b_5k3Ai_1aASOXDss3lzCUsUug,87
10
+ effectual-0.5.0.dist-info/entry_points.txt,sha256=1W7EjlLZkw_Wz8V1SgdzzDis-CRE5IINyg74upsB0zU,40
11
+ effectual-0.5.0.dist-info/licenses/LICENSE,sha256=RrVXS_K_FctToNx9BLuZm9vbcpTi3PHNzWMaz7QyVeg,1082
12
+ effectual-0.5.0.dist-info/RECORD,,