Closed lhartmann closed 10 months ago
Nice! Thanks for the contribution again. Let me test it at least on Windows and Linux first to make sure it is working the same way before merging this PR. By the way, have you checked the dev-python3 branch at https://github.com/Autonomy-Logic/OpenPLC_Runtime/tree/feature/mbconfig_generator ? Maybe we can join forces to build the next version of the runtime.
Windows/cygwin will probably fail because I have not changed it's installer to python3. There are 2 possible solutions:
f'strings'
do 'string'.format()
so as to retain python2 compatibility.My choice would be the first option. Looks easy enough...
I merged your PR and made the necessary modifications for the runtime to run on Python 3 Windows. Thank you for working on this. If you want to continue contributing, please check https://github.com/Autonomy-Logic/OpenPLC_Runtime (dev-python3 branch). That's the new version of the runtime that eventually will replace this one.
Updates to enable running on modern distributions:
Tested install, launch blank program, start runtime, monitor and stop runtime under:
Untested: