changes starting with python3 explicit

This commit is contained in:
Ronald Steinke
2018-10-14 17:03:08 +02:00
parent 61e688f921
commit b41a2b63f1
30 changed files with 33 additions and 33 deletions

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
exec python -m influxdbapp $@ exec python3 -m influxdbapp $@

View File

@ -70,4 +70,4 @@ mv ${CONFIG_TEMP} ${CONFIG_FILE}
echo "done" echo "done"
exec python -m influxdbapp $@ exec python3 -m influxdbapp $@

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from setuptools import setup from setuptools import setup
from distutils.core import setup from distutils.core import setup

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
exec python -m orioncontextbroker $@ exec python3 -m orioncontextbroker $@

View File

@ -64,4 +64,4 @@ mv ${CONFIG_TEMP} ${CONFIG_FILE}
echo "done" echo "done"
exec python -m orioncontextbroker $@ exec python3 -m orioncontextbroker $@

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from setuptools import setup from setuptools import setup
from distutils.core import setup from distutils.core import setup

View File

@ -6,4 +6,4 @@ cd $(dirname ${0})
cd csvInjector cd csvInjector
PYTHONPATH=${PYTHONPATH}:src exec python -m csvinjector $@ PYTHONPATH=${PYTHONPATH}:src exec python3 -m csvinjector $@

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
exec python -m csvinjector $@ exec python3 -m csvinjector $@

View File

@ -70,4 +70,4 @@ mv ${CONFIG_TEMP} ${CONFIG_FILE}
echo "done" echo "done"
exec python -m csvinjector $@ exec python3 -m csvinjector $@

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from setuptools import setup from setuptools import setup
from distutils.core import setup from distutils.core import setup

View File

@ -6,4 +6,4 @@ cd $(dirname ${0})
cd InfluxdbApp cd InfluxdbApp
PYTHONPATH=${PYTHONPATH}:src exec python -m influxdbapp $@ PYTHONPATH=${PYTHONPATH}:src exec python3 -m influxdbapp $@

View File

@ -6,4 +6,4 @@ cd $(dirname ${0})
cd mqttConnector cd mqttConnector
PYTHONPATH=${PYTHONPATH}:src exec python -m mqttconnector $@ PYTHONPATH=${PYTHONPATH}:src exec python3 -m mqttconnector $@

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
exec python -m mqttconnector $@ exec python3 -m mqttconnector $@

View File

@ -76,4 +76,4 @@ mv ${CONFIG_TEMP} ${CONFIG_FILE}
echo "done" echo "done"
exec python -m mqttconnector $@ exec python3 -m mqttconnector $@

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from setuptools import setup from setuptools import setup
from distutils.core import setup from distutils.core import setup

View File

@ -6,4 +6,4 @@ cd $(dirname ${0})
cd OrionContextBroker cd OrionContextBroker
PYTHONPATH=${PYTHONPATH}:src exec python -m orioncontextbroker $@ PYTHONPATH=${PYTHONPATH}:src exec python3 -m orioncontextbroker $@

View File

@ -289,7 +289,7 @@ cd \$(dirname \${0})
cd ${APP_NAME} cd ${APP_NAME}
PYTHONPATH=\${PYTHONPATH}:src exec python -m ${PKG_NAME} \$@ PYTHONPATH=\${PYTHONPATH}:src exec python3 -m ${PKG_NAME} \$@
EOF EOF
chmod +x "${START_SCRIPT}" chmod +x "${START_SCRIPT}"
@ -301,7 +301,7 @@ BIN_SCRIPT="${APP_FOLDER}/bin/openmtc-${APP_SCRIPT}"
cat > "${BIN_SCRIPT}" << EOF cat > "${BIN_SCRIPT}" << EOF
#!/usr/bin/env bash #!/usr/bin/env bash
exec python -m ${PKG_NAME} \$@ exec python3 -m ${PKG_NAME} \$@
EOF EOF
chmod +x "${BIN_SCRIPT}" chmod +x "${BIN_SCRIPT}"
@ -333,7 +333,7 @@ fi
# create setup file # create setup file
SETUP_FILE="${APP_FOLDER}/setup-${PKG_NAME}.py" SETUP_FILE="${APP_FOLDER}/setup-${PKG_NAME}.py"
cat > "${SETUP_FILE}" << EOF cat > "${SETUP_FILE}" << EOF
#!/usr/bin/env python #!/usr/bin/env python3
from setuptools import setup from setuptools import setup
from distutils.core import setup from distutils.core import setup
@ -489,7 +489,7 @@ mv \${CONFIG_TEMP} \${CONFIG_FILE}
echo "done" echo "done"
exec python -m ${PKG_NAME} \$@ exec python3 -m ${PKG_NAME} \$@
EOF EOF
if [ ${WEB_APP} == "false" ]; then if [ ${WEB_APP} == "false" ]; then

View File

@ -89,4 +89,4 @@ mv ${CONFIG_TEMP} ${CONFIG_FILE}
echo "done" echo "done"
exec python -m openmtc_gevent.backend_main $@ exec python3 -m openmtc_gevent.backend_main $@

View File

@ -101,4 +101,4 @@ mv ${CONFIG_TEMP} ${CONFIG_FILE}
echo "done" echo "done"
exec python -m openmtc_gevent.gateway_main $@ exec python3 -m openmtc_gevent.gateway_main $@

View File

@ -1,4 +1,4 @@
#! /usr/bin/env python #! /usr/bin/env python3
''' '''
Created on 01.04.2011 Created on 01.04.2011

View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
exec python -m cul868ipe $@ exec python3 -m cul868ipe $@

View File

@ -64,4 +64,4 @@ mv ${CONFIG_TEMP} ${CONFIG_FILE}
echo "done" echo "done"
exec python -m cul868ipe $@ exec python3 -m cul868ipe $@

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from setuptools import setup from setuptools import setup
from distutils.core import setup from distutils.core import setup

View File

@ -6,4 +6,4 @@ cd $(dirname ${0})
cd CUL868IPE cd CUL868IPE
PYTHONPATH=${PYTHONPATH}:src exec python -m cul868ipe $@ PYTHONPATH=${PYTHONPATH}:src exec python3 -m cul868ipe $@

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
exec python -m openmtc_gevent.backend_main $@ exec python3 -m openmtc_gevent.backend_main $@

View File

@ -1,3 +1,3 @@
#!/bin/sh #!/bin/sh
exec python -m openmtc_gevent.gateway_main $@ exec python3 -m openmtc_gevent.gateway_main $@

View File

@ -4,4 +4,4 @@ cd $(dirname ${0})
. ./prep-env.sh . ./prep-env.sh
exec python src/openmtc_gevent/backend_main.py -f config-backend.json "$@" exec python3 src/openmtc_gevent/backend_main.py -f config-backend.json "$@"

View File

@ -4,4 +4,4 @@ cd $(dirname ${0})
. ./prep-env.sh . ./prep-env.sh
exec python src/openmtc_gevent/gateway_main.py -f config-gateway.json "$@" exec python3 src/openmtc_gevent/gateway_main.py -f config-gateway.json "$@"

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from setuptools import setup from setuptools import setup
from distutils.core import setup from distutils.core import setup

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python #!/usr/bin/env python3
from setuptools import setup from setuptools import setup
from distutils.core import setup from distutils.core import setup