[SOLVED] Running Python script via setup.py
Published: November 28, 2025 - 10:29 AM
Hello,
I'm developing a "Template-setup" package that would simply execute a Python script within setup.py (without installing any software or anything).
This script searches for differences between the package directory structure and the directory structure of software already installed on the user's machine and performs a simple "copyto" operation.
The problem is: when run locally via PyScripter, the script works perfectly with the paths correctly declared, etc. However, once uploaded as a package and deployed to the users' machines, it doesn't execute and returns an "error" in the package status.
Is this a problem with access rights, a checkbox, or simply the execution location?
Thank you in advance,
Best regards
, ----------
WAPTConsole Enterprise version 2.6.0.17392
I'm developing a "Template-setup" package that would simply execute a Python script within setup.py (without installing any software or anything).
This script searches for differences between the package directory structure and the directory structure of software already installed on the user's machine and performs a simple "copyto" operation.
The problem is: when run locally via PyScripter, the script works perfectly with the paths correctly declared, etc. However, once uploaded as a package and deployed to the users' machines, it doesn't execute and returns an "error" in the package status.
Is this a problem with access rights, a checkbox, or simply the execution location?
Thank you in advance,
Best regards
, ----------
WAPTConsole Enterprise version 2.6.0.17392