summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaine2020-06-20 03:09:27 +0530
committerBlaine2020-06-20 03:09:27 +0530
commit4911198e0e84aca58ca2fbe468415e6e98928e48 (patch)
tree8e1f3fd3fe2e60490e56640fed4511cde8694c52
parentea0deb05ec943e78652c7c637cbf171e1a697b63 (diff)
downloadChemical-PFD-4911198e0e84aca58ca2fbe468415e6e98928e48.tar.gz
Chemical-PFD-4911198e0e84aca58ca2fbe468415e6e98928e48.tar.bz2
Chemical-PFD-4911198e0e84aca58ca2fbe468415e6e98928e48.zip
create build script
-rw-r--r--build.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/build.py b/build.py
new file mode 100644
index 0000000..9b5a543
--- /dev/null
+++ b/build.py
@@ -0,0 +1,13 @@
+from fbs.cmdline import command
+from os.path import dirname
+import subprocess
+
+import fbs.cmdline
+
+@command
+def compileResources():
+ subprocess.call("pyrcc5 -o src/main/python/resources/resources.py src/main/ui/resources.rcc", shell=True)
+
+if __name__ == '__main__':
+ project_dir = dirname(__file__)
+ fbs.cmdline.main(project_dir) \ No newline at end of file