Open ManPython opened 4 months ago
Regarding problems with venv
pyoxidizer run
resolving 1 targets
resolving target install
resolving target exe
error[CF05]: Extraneous parameter passed to function call
--> .\pyoxidizer.bzl:12:12
|
12 | dist = default_python_distribution(
| ____________^
13 | | type="virtualenv",
14 | | path=venv_path
15 | | )
| |_____^ Extraneous parameter in function call
error: Extraneous parameter passed to function call
Not sure it's correctly resolved (or regression): https://github.com/indygreg/PyOxidizer/issues/297
Hi,
This tool giving promise to game changer around Python and compiling to .exe I'm coming here after long experience with Nuitka, etc. and wan provide some feedback and suggestion what I meeting and problems..
Should be first function to check modules after this adding extra files or compile (now first is compilation) - coz at end.. in .bzl file can be situation as not added file or module, eg. case with MVC.. - I'm not sure that I doing this in right way, but when using my advanced aps as MVC where is eg. OpenGL, etc. PySide6, then each module and especially View, Controller, Model can have other libs, and this tool not care about discovery this.. and each must by added manual (this is what I meet).
Tool not discovering related modules with MVC as modules called inside Model, View, Controller, eg. Model.MainModels or Model.MainModels.SubModel and more Model.MainModels.SubModel.TypeSubModel (I add this all as packages)
Exist bad case with temp in
C:\Users\ManPython\AppData\Local\Temp\sdafsadfas
- should be next to project or other path to select in compilation process, it's due memory and page fill and huge project that can do situation as no memoery to continue process/
or\
(should be used a solution asfrom pathlib import Path, PureWindowsPath
)Right now most of apps when trying compile working in mode:
policy.resources_location = "filesystem-relative:prefix"
, but in modepolicy.resources_location = "in-memory"
not... (look at the log)..ble ble ble.. as other pathes and:
note:
link.exe
returned an unexpected errornote: the Visual Studio build tools may need to be repaired using the Visual Studio installer
note: or a necessary component may be missing from the "C++ build tools" workload
error: could not compile
main
due to previous error error[PYOXIDIZER_PYTHON_EXECUTABLE]: adding PythonExecutable to FileManifesterror: adding PythonExecutable to FileManifest
Caused by: 0: building Python executable 1: building executable with Rust project 2: cargo build failed