PyOxidizer does not set __file__ and this may create problems at run-time
See https://github.com/indygreg/PyOxidizer/issues/69 for more
error[PYOXIDIZER_PYTHON_EXECUTABLE]: adding PythonExecutable to FileManifest
Caused by:
0: building Python executable
1: building executable with Rust project
2: obtaining embedded python context
3: converting astroid.tests.testdata.python2.data.all to resource
4: compiling in-memory bytecode
5: compiling error: Missing parentheses in call to 'print'. Did you mean print(...)? (astroid.tests.testdata.python2.data.all, line 7)
--> .\pyoxidizer.bzl:283:5
|
283 | files.add_python_resource(".", exe)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PythonExecutable.to_file_manifest()
error: adding PythonExecutable to FileManifest
Caused by:
0: building Python executable
1: building executable with Rust project
2: obtaining embedded python context
3: converting astroid.tests.testdata.python2.data.all to resource
4: compiling in-memory bytecode
5: compiling error: Missing parentheses in call to 'print'. Did you mean print(...)? (astroid.tests.testdata.python2.data.all, line 7)
pyoxidizer==0.24.0
Sounds like not resolved bug: https://github.com/indygreg/PyOxidizer/issues/356