eventdispatch 0.1.23__tar.gz → 0.1.24__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eventdispatch
3
- Version: 0.1.23
3
+ Version: 0.1.24
4
4
  Summary: Event Dispatch: discrete time synchronization
5
5
  Home-page: http://github.com/cyan-at/eventdispatch
6
6
  Author: Charlie Yan
@@ -417,7 +417,7 @@ class Collector(object):
417
417
  self.r = []
418
418
  self.s = []
419
419
 
420
- if __name__ == "__main__":
420
+ def main():
421
421
  s = 4
422
422
 
423
423
  sem1 = CompositeSemaphore([x for x in range(s)])
@@ -472,3 +472,6 @@ if __name__ == "__main__":
472
472
  th.join()
473
473
  for th in p_threads:
474
474
  th.join()
475
+
476
+ if __name__ == "__main__":
477
+ main()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: eventdispatch
3
- Version: 0.1.23
3
+ Version: 0.1.24
4
4
  Summary: Event Dispatch: discrete time synchronization
5
5
  Home-page: http://github.com/cyan-at/eventdispatch
6
6
  Author: Charlie Yan
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "eventdispatch"
7
- version = "0.1.23"
7
+ version = "0.1.24"
8
8
  authors = [{name = "Charlie Yan", email = "cyanatg@gmail.com"}]
9
9
  dynamic = ["scripts", "dependencies"]
10
10
  description = "Event Dispatch: discrete time synchronization"
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='eventdispatch',
5
- version='0.1.23',
5
+ version='0.1.24',
6
6
  description='Event Dispatch, a discrete time synchronizer',
7
7
  url='http://github.com/cyan-at/eventdispatch',
8
8
  author='Charlie Yan',
File without changes
File without changes
File without changes