[4de1c7]: / app / resources / __init__.py

Download this file

19 lines (18 with data), 612 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
import os
import sys
import inspect
src_dir = os.path.dirname(inspect.getfile(inspect.currentframe()))
# AnyPyTools
arch_dir = 'AnyPyTools'
sys.path.insert(0, os.path.abspath(os.path.join(src_dir, arch_dir)))
# Gooey
arch_dir = 'Gooey'
sys.path.insert(0, os.path.abspath(os.path.join(src_dir, arch_dir)))
# LeapSDK
arch_dir = 'LeapSDK/v53_python39/lib/x64'
sys.path.insert(0, os.path.abspath(os.path.join(src_dir, arch_dir)))
# pymo
arch_dir = 'pymo/pymo'
sys.path.insert(0, os.path.abspath(os.path.join(src_dir, arch_dir)))
arch_dir = 'pymo'
sys.path.insert(0, os.path.abspath(os.path.join(src_dir, arch_dir)))