File: python3-config.sh

package info (click to toggle)
kore 4.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,912 kB
  • sloc: ansic: 29,227; makefile: 344; sh: 278; python: 149; cpp: 34
file content (14 lines) | stat: -rwxr-xr-x 213 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

if [ $# -ne 1 ]; then
	echo "python3-flags.sh [--ldflags|--includes]"
	exit 1
fi

python3-config $1 --embed > /dev/null 2>&1

if [ $? -eq 0 ]; then
	python3-config $1 --embed
else
	python3-config $1
fi