summaryrefslogtreecommitdiff
path: root/pkg/pyinst/build.mk
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2016-10-21 16:56:41 -0400
committerKali Kaneko (leap communications) <kali@leap.se>2016-10-21 17:17:30 -0400
commitb9f8766d72728093f6183c289d23ecd8a1fa562f (patch)
tree8f82ba9b16743e2d77ae1c53d602eeb604f7968f /pkg/pyinst/build.mk
parentd063b5a2c32b867e5284121551951cc8e695aa9a (diff)
[pkg] native pyinstaller packaging
Diffstat (limited to 'pkg/pyinst/build.mk')
-rw-r--r--pkg/pyinst/build.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk
index 9df420d..4a250d7 100644
--- a/pkg/pyinst/build.mk
+++ b/pkg/pyinst/build.mk
@@ -10,6 +10,13 @@ bundle: bundle_clean
cd pkg/launcher && make
cp pkg/launcher/bitmask $(DIST_VERSION)
+bundle_win:
+ pyinstaller -y pkg/pyinst/app.spec
+ cp ${VIRTUAL_ENV}/Lib/site-packages/_scrypt.pyd $(DIST)
+ cp ${VIRTUAL_ENV}/Lib/site-packages/zmq/libzmq.pyd $(DIST)
+ cp src/leap/bitmask/core/bitmaskd.tac $(DIST)
+
+
bundle_tar:
cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION)
@@ -20,5 +27,5 @@ bundle_upload:
rsync --rsh='ssh' -avztlpog --progress --partial dist/Bitmask.$(NEXT_VERSION).* downloads.leap.se:./
bundle_clean:
- rm -rf dist build
+ rm -rf "dist" "build"