File: worker.py

package info (click to toggle)
ppft 1.7.6.9%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 504 kB
  • sloc: python: 1,914; makefile: 39; sh: 9
file content (19 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/env python
#
# Author: Mike McKerns (mmckerns @caltech and @uqfoundation)
# Copyright (c) 2015-2016 California Institute of Technology.
# Copyright (c) 2016-2024 The Uncertainty Quantification Foundation.
# License: 3-clause BSD.  The full license text is available at:
#  - https://github.com/uqfoundation/ppft/blob/master/LICENSE
from ppft.worker import *
from ppft.worker import _WorkerProcess, __version__, __doc__


if __name__ == "__main__":
        # add the directory with worker.py to the path
        sys.path.append(os.path.dirname(__file__))
        wp = _WorkerProcess()
        wp.run()


# EOF