Open
Description
I have users who are experiencing a premature termination of our app installation when using the exe on Windows. The users are able to see the following indicators when opening the exe:
Creating virtual environment
Installing test_app 0.22.0
But after approximately 2 minutes, the command prompt window closes.
Could this possibly be related to administrator permissions for individual machines? The exe is able to complete installation on the Windows machine on which it was built, but not on alternative machines.
The exe is distributed in zip format in an attempt to preserve the file permissions.
Here is the script used to create the binary, first by creating a whl file from the python package:
# create the whl distribution first
SCRIPTPATH=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
python $SCRIPTPATH/setup.py bdist_wheel --dist-dir $SCRIPTPATH/dist
VERSION=$( app -v | cut -d "v" -f 2 )
export PYAPP_PROJECT_NAME="app"
export PYAPP_PROJECT_DEPENDENCY_FILE="$SCRIPTPATH/requirements.txt"
export PYAPP_PROJECT_VERSION=$VERSION
export PYAPP_EXEC_SPEC="app.wsgi:main"
export PYAPP_PROJECT_PATH="$SCRIPTPATH/dist/app-$VERSION-py3-none-any.whl"
export PYAPP_PYTHON_VERSION=3.10
export PYAPP_EXE_NAME="app"
cd ../pyapp-latest && cargo build --release
mv target/release/pyapp.exe app_$VERSION.exe && chmod 777 app_$VERSION.exe && chmod 777
Metadata
Metadata
Assignees
Labels
No labels