/usr/bin/wxglade is in python-wxglade 0.6.8-2.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | #!/bin/sh
#
# License: MIT (see license.txt)
# THIS PROGRAM COMES WITH NO WARRANTY
#
# Copyright 2011-2013 Carsten Grohmann
#
# Shell script to start wxGlade
#
# The wxGlade main script is called wxglade.py. It will be searched at
# three places:
# 1. parallel to this script
# 2. in the module directory of the current Python
# 3. in a parallel Python module directory
PYTHON_BIN=${PYTHON_BIN:=python2}
${PYTHON_BIN} --version > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "ERROR: Python interpreter \"${PYTHON_BIN}\" found!"
exit 1
fi
# determined current python version
PY_VERSION=$(${PYTHON_BIN} -c 'import sys; print sys.version[:3]')
# determinate prefix of the Python module directory structure
WXGLADE_MODULE_PATH="/usr/lib/python${PY_VERSION}/dist-packages/wxglade"
CURR_DIR=$(dirname $0)
# search wxglade.py
WXG_PATH="${WXGLADE_MODULE_PATH}/wxglade.py"
# exec wxGlade
exec ${PYTHON_BIN} "${WXG_PATH}" "$@"
|