summaryrefslogtreecommitdiff
path: root/build.py
diff options
context:
space:
mode:
Diffstat (limited to 'build.py')
-rw-r--r--build.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/build.py b/build.py
index d096792..91a66fb 100644
--- a/build.py
+++ b/build.py
@@ -1,17 +1,20 @@
from fbs.cmdline import command
from os.path import dirname
import subprocess
-
+import sys
import fbs.cmdline
import fbs
+sys.path.append('src/main/python/')
+
@command
def compileResources():
subprocess.call("pyrcc5 -o src/main/python/resources/resources.py src/main/ui/resources.rcc", shell=True)
@command
def symbolGen():
- exec(open('src/main/python/utils/custom.py').read())
+ from utils import custom
+ custom.main()
@command
def build():