effectual 0.7.7__tar.gz → 0.7.9__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: effectual
3
- Version: 0.7.7
3
+ Version: 0.7.9
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>
@@ -17,7 +17,6 @@ Requires-Python: >=3.8
17
17
  Requires-Dist: click>=8.1.7
18
18
  Requires-Dist: python-minifier>=2.11.3
19
19
  Requires-Dist: rtoml>=0.11.0
20
- Requires-Dist: ruff>=0.8.0
21
20
  Requires-Dist: termcolor>=2.4.0
22
21
  Requires-Dist: watchfiles>=0.24.0
23
22
  Description-Content-Type: text/markdown
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "effectual"
3
- version = "0.7.7"
3
+ version = "0.7.9"
4
4
  description = "A python package/script bundler"
5
5
  readme = "README.md"
6
6
  license = "MIT"
@@ -26,7 +26,6 @@ dependencies = [
26
26
  "click>=8.1.7",
27
27
  "python-minifier>=2.11.3",
28
28
  "rtoml>=0.11.0",
29
- "ruff>=0.8.0",
30
29
  "termcolor>=2.4.0",
31
30
  "watchfiles>=0.24.0",
32
31
  ]
@@ -143,8 +143,8 @@ def main() -> None:
143
143
 
144
144
  Path("./.effectual_cache/").mkdir(parents=True, exist_ok=True)
145
145
  currentHash["hashes"] = dict()
146
- currentHash["hashes"]["pyproject"] = getHash("./pyproject.toml")
147
- currentHash["hashes"]["lock"] = getHash("./uv.lock")
146
+ currentHash["hashes"]["pyproject"] = getHash(Path("./pyproject.toml"))
147
+ currentHash["hashes"]["lock"] = getHash(Path("./uv.lock"))
148
148
 
149
149
  freshHash: bool = False
150
150
 
@@ -43,10 +43,9 @@ def main() -> None:
43
43
  bundle(sourceDirectory, outputFile)
44
44
  runCommand = subprocess.Popen(["uv", "run", outputFile], shell=True)
45
45
 
46
- pidSet: set = set()
46
+ pidSet: set[Any] = set()
47
47
 
48
48
  for change in watch(sourceDirectory, debounce=600):
49
- print(pidSet)
50
49
  print(f"{tagColor('reloaded')} || file change detected")
51
50
  for pid in pidSet.copy():
52
51
  try: