summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkg/pyinst/app.spec2
-rw-r--r--pkg/pyinst/build.mk3
2 files changed, 4 insertions, 1 deletions
diff --git a/pkg/pyinst/app.spec b/pkg/pyinst/app.spec
index 5a99a6c6..d9243de8 100644
--- a/pkg/pyinst/app.spec
+++ b/pkg/pyinst/app.spec
@@ -5,7 +5,7 @@ block_cipher = None
hiddenimports = [
'scrypt', 'zope.interface', 'zope.proxy',
- 'pixelated_www', 'pixelated_user_agent',
+ 'pixelated_www', 'pixelated',
'pysqlcipher', 'service_identity',
'leap.common', 'leap.bitmask',
'leap.bitmask.core.logs',
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk
index a834f4ed..3fd9a6e5 100644
--- a/pkg/pyinst/build.mk
+++ b/pkg/pyinst/build.mk
@@ -6,8 +6,11 @@ bundle: bundle_clean
cp src/leap/bitmask/core/bitmaskd.tac $(DIST)
mkdir $(DIST)/leap
mkdir -p $(DIST)/leap/soledad/common/l2db/backends
+ # if you find yourself puzzled becase the following files are not found in your
+ # virtualenv, make sure that you're installing the packages from wheels and not eggs.
cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/soledad/common/l2db/backends/dbschema.sql $(DIST)/leap/soledad/common/l2db/backends/
cp -r $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/bitmask_js/ $(DIST)/leap
+ cp -r $(VIRTUAL_ENV)/lib/python2.7/site-packages/pixelated_www/ $(DIST)
mv $(DIST) _bundlelib && mkdir $(DIST_VERSION) && mv _bundlelib $(DIST_VERSION)/lib
cd pkg/launcher && make
cp pkg/launcher/bitmask $(DIST_VERSION)