PyProd 0.10.0__tar.gz → 0.10.1__tar.gz

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.
Files changed (51) hide show
  1. {pyprod-0.10.0 → pyprod-0.10.1}/PKG-INFO +1 -1
  2. pyprod-0.10.1/src/pyprod/__init__.py +1 -0
  3. {pyprod-0.10.0 → pyprod-0.10.1}/src/pyprod/prod.py +11 -10
  4. pyprod-0.10.0/src/pyprod/__init__.py +0 -1
  5. {pyprod-0.10.0 → pyprod-0.10.1}/.github/workflows/publish.yml +0 -0
  6. {pyprod-0.10.0 → pyprod-0.10.1}/.github/workflows/test.yml +0 -0
  7. {pyprod-0.10.0 → pyprod-0.10.1}/.gitignore +0 -0
  8. {pyprod-0.10.0 → pyprod-0.10.1}/LICENSE +0 -0
  9. {pyprod-0.10.0 → pyprod-0.10.1}/README.rst +0 -0
  10. {pyprod-0.10.0 → pyprod-0.10.1}/docs/Makefile +0 -0
  11. {pyprod-0.10.0 → pyprod-0.10.1}/docs/commandline.rst +0 -0
  12. {pyprod-0.10.0 → pyprod-0.10.1}/docs/conf.py +0 -0
  13. {pyprod-0.10.0 → pyprod-0.10.1}/docs/index.rst +0 -0
  14. {pyprod-0.10.0 → pyprod-0.10.1}/docs/make.bat +0 -0
  15. {pyprod-0.10.0 → pyprod-0.10.1}/docs/prodfile.rst +0 -0
  16. {pyprod-0.10.0 → pyprod-0.10.1}/docs/pyprod2.png +0 -0
  17. {pyprod-0.10.0 → pyprod-0.10.1}/docs/quickstart.rst +0 -0
  18. {pyprod-0.10.0 → pyprod-0.10.1}/docs/releasenotes.rst +0 -0
  19. {pyprod-0.10.0 → pyprod-0.10.1}/docs/requirements.txt +0 -0
  20. {pyprod-0.10.0 → pyprod-0.10.1}/pyprod.webp +0 -0
  21. {pyprod-0.10.0 → pyprod-0.10.1}/pyprod2.png +0 -0
  22. {pyprod-0.10.0 → pyprod-0.10.1}/pyproject.toml +0 -0
  23. {pyprod-0.10.0 → pyprod-0.10.1}/samples/build-c/Makefile +0 -0
  24. {pyprod-0.10.0 → pyprod-0.10.1}/samples/build-c/Prodfile.py +0 -0
  25. {pyprod-0.10.0 → pyprod-0.10.1}/samples/build-c/hello.c +0 -0
  26. {pyprod-0.10.0 → pyprod-0.10.1}/samples/build-c/hello.h +0 -0
  27. {pyprod-0.10.0 → pyprod-0.10.1}/samples/build-c/main.c +0 -0
  28. {pyprod-0.10.0 → pyprod-0.10.1}/samples/generate-doc/Prodfile.py +0 -0
  29. {pyprod-0.10.0 → pyprod-0.10.1}/samples/generate-doc/a.txt +0 -0
  30. {pyprod-0.10.0 → pyprod-0.10.1}/samples/generate-doc/b.txt +0 -0
  31. {pyprod-0.10.0 → pyprod-0.10.1}/samples/generate-doc/c.txt +0 -0
  32. {pyprod-0.10.0 → pyprod-0.10.1}/samples/generate-doc/inc1.txt +0 -0
  33. {pyprod-0.10.0 → pyprod-0.10.1}/samples/generate-doc/inc2.txt +0 -0
  34. {pyprod-0.10.0 → pyprod-0.10.1}/samples/md-to-pdf/Prodfile.py +0 -0
  35. {pyprod-0.10.0 → pyprod-0.10.1}/samples/md-to-pdf/doc.md +0 -0
  36. {pyprod-0.10.0 → pyprod-0.10.1}/samples/md-to-pdf/md_to_html.py +0 -0
  37. {pyprod-0.10.0 → pyprod-0.10.1}/samples/md-to-pdf/template.html +0 -0
  38. {pyprod-0.10.0 → pyprod-0.10.1}/samples/s3files/Prodfile.py +0 -0
  39. {pyprod-0.10.0 → pyprod-0.10.1}/samples/s3files/S3TEST.txt +0 -0
  40. {pyprod-0.10.0 → pyprod-0.10.1}/samples/tutorial-1/Prodfile.py +0 -0
  41. {pyprod-0.10.0 → pyprod-0.10.1}/samples/tutorial-2/Prodfile.py +0 -0
  42. {pyprod-0.10.0 → pyprod-0.10.1}/src/pyprod/__main__.py +0 -0
  43. {pyprod-0.10.0 → pyprod-0.10.1}/src/pyprod/main.py +0 -0
  44. {pyprod-0.10.0 → pyprod-0.10.1}/src/pyprod/utils.py +0 -0
  45. {pyprod-0.10.0 → pyprod-0.10.1}/src/pyprod/venv.py +0 -0
  46. {pyprod-0.10.0 → pyprod-0.10.1}/tests/__init__.py +0 -0
  47. {pyprod-0.10.0 → pyprod-0.10.1}/tests/conftest.py +0 -0
  48. {pyprod-0.10.0 → pyprod-0.10.1}/tests/test_prod.py +0 -0
  49. {pyprod-0.10.0 → pyprod-0.10.1}/tests/test_prodfuncs.py +0 -0
  50. {pyprod-0.10.0 → pyprod-0.10.1}/tests/test_rule.py +0 -0
  51. {pyprod-0.10.0 → pyprod-0.10.1}/tests/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: PyProd
3
- Version: 0.10.0
3
+ Version: 0.10.1
4
4
  Summary: PyProd: More Makeable than Make
5
5
  Project-URL: Homepage, https://github.com/atsuoishimoto/pyprod
6
6
  Project-URL: Documentation, https://pyprod.readthedocs.io/en/latest/
@@ -0,0 +1 @@
1
+ __version__ = "0.10.1"
@@ -704,16 +704,17 @@ class Prod:
704
704
  if isinstance(obj, asyncio.Event):
705
705
  waits.append(obj)
706
706
 
707
- results = await asyncio.gather(*(coro for _, coro in tasks))
708
- for ret, (dep, _) in zip(results, tasks):
709
- ev = self.buildings[dep]
710
- try:
711
- self.buildings[dep] = ret
712
- finally:
713
- ev.set()
714
-
715
- events = [ev.wait() for ev in waits]
716
- await asyncio.gather(*events)
707
+ if tasks:
708
+ results = await asyncio.gather(*(coro for _, coro in tasks))
709
+ for ret, (dep, _) in zip(results, tasks):
710
+ ev = self.buildings[dep]
711
+ try:
712
+ self.buildings[dep] = ret
713
+ finally:
714
+ ev.set()
715
+
716
+ events = [ev.wait() for ev in waits]
717
+ await asyncio.gather(*events)
717
718
 
718
719
  ts = []
719
720
  for dep in deps:
@@ -1 +0,0 @@
1
- __version__ = "0.10.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes