summaryrefslogtreecommitdiff
path: root/pkg/generate_wheels.sh
blob: 4cdc34e9c37707965fcb2db2fef6276a0b1c479a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
# Generate wheels for dependencies
# For convenience, dirspec is 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 --allow-external dirspec --allow-unverified dirspec -r pkg/requirements.pip
if [ -f pkg/requirements-testing.pip ]; then
    pip wheel --wheel-dir $WHEELHOUSE -r pkg/requirements-testing.pip
fi