You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can this be imported as a module instead of executing using cli? I am trying to bundle my application using pyinstaller, with it invoking the command "python3 cc2538-bsl.py -p /dev/ttyUSB0 -e -w -v firmware.hex" using subprocess.run. It seems to try to use my pc's python environment instead of the bundled runtime (it could be argued that this should be handled by pyinstaller, but I am looking into this on both fronts). This would not be an issue if I could import it and use it as a module. The reason this is an issue is because it defeats the purpose of pyinstaller, the user now must have a python runtime installed.
The text was updated successfully, but these errors were encountered:
I used pyinstaller to create an executable out of cc2538-bsl. Now I don't have to worry about the python environment when I execute it.
I will leave this issue open because I think it is still a good idea to be able to import this as a module, so that it can be easily used within other python projects, especially when it must be bundled and deployed like in my case.
Can this be imported as a module instead of executing using cli? I am trying to bundle my application using pyinstaller, with it invoking the command "python3 cc2538-bsl.py -p /dev/ttyUSB0 -e -w -v firmware.hex" using subprocess.run. It seems to try to use my pc's python environment instead of the bundled runtime (it could be argued that this should be handled by pyinstaller, but I am looking into this on both fronts). This would not be an issue if I could import it and use it as a module. The reason this is an issue is because it defeats the purpose of pyinstaller, the user now must have a python runtime installed.
The text was updated successfully, but these errors were encountered: