File: execute.sh

package info (click to toggle)
python-pex 1.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,840 kB
  • sloc: python: 9,757; sh: 1,394; makefile: 165
file content (15 lines) | stat: -rw-r--r-- 243 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

set -x

# Now ensure that pex can't download anything from PyPI.
export http_proxy=127.0.0.1:9
export https_proxy=127.0.0.1:9

pex --python=python3 -m textwrap -vv -o script && ./script

if [ $? -eq 0 ]; then
    echo 9
fi

echo -1