File: ray-daemon

package info (click to toggle)
raysession 0.17.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 19,168 kB
  • sloc: python: 44,371; sh: 1,538; makefile: 208; xml: 86
file content (13 lines) | stat: -rwxr-xr-x 280 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python3

import sys
from pathlib import Path
from typing import TYPE_CHECKING

sys.path[0] = str(Path(__file__).parents[1]
                  / 'share' / 'raysession' / 'src' / 'daemon')

if TYPE_CHECKING:
    import src.daemon.ray_daemon
else:
    import ray_daemon