File: tox.sh

package info (click to toggle)
python-pgpy 0.6.0-1.4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,212 kB
  • sloc: python: 8,448; makefile: 155; sh: 10
file content (10 lines) | stat: -rwxr-xr-x 331 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

# homebrew is installed and so is a brewed openssl
if [[ $(uname) == "Darwin" ]] && command -v brew &>/dev/null && brew list openssl@1.1 &>/dev/null; then
    export ARCHFLAGS="-arch x86_64"
    export LDFLAGS="-L/usr/local/opt/openssl@1.1/lib"
    export CFLAGS="-I/usr/local/opt/openssl@1.1/include"
fi

exec tox $*