summaryrefslogtreecommitdiff
path: root/pkg/build_bundle_with_venv.sh
blob: 929710ada52ec4122f5051dab4242c77dff4b00f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
virtualenv venv
source venv/bin/activate
$VIRTUAL_ENV/bin/pip install -U pyinstaller==3.1 packaging
$VIRTUAL_ENV/bin/pip install zope.interface zope.proxy
$VIRTUAL_ENV/bin/pip install leap.soledad.common
$VIRTUAL_ENV/bin/pip install leap.soledad.client

# XXX hack for the namespace package not being properly handled by pyinstaller
touch $VIRTUAL_ENV/lib/python2.7/site-packages/zope/__init__.py
touch $VIRTUAL_ENV/lib/python2.7/site-packages/leap/soledad/__init__.py

make dev-all

$VIRTUAL_ENV/bin/pip uninstall leap.bitmask
$VIRTUAL_ENV/bin/pip install .

make bundle
make bundle_tar