summaryrefslogtreecommitdiff
path: root/mail/pkg/generate_wheels.sh
blob: 6679d1d031619b52e39c9fcee6789567299d2f0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# Generate wheels for dependencies
# For convenience, u1db and dirspec are allowed with insecure flags enabled.
# Use at your own risk.

if [ "$WHEELHOUSE" = "" ]; then
    WHEELHOUSE=$HOME/wheelhouse
fi

pip wheel --wheel-dir $WHEELHOUSE pip
pip wheel --wheel-dir $WHEELHOUSE -r pkg/requirements.pip
if [ -f pkg/requirements-testing.pip ]; then
   pip wheel --wheel-dir $WHEELHOUSE -r pkg/requirements-testing.pip
fi