Questions tagged [pyoxidizer]

6 questions
4
votes
1 answer

extension module cannot be loaded from memory but memory loading required

I want to pack my application using pyoxidizer. I need to add PySide2 to my package. policy.resources_location = "in-memory" policy.resources_location_fallback = "filesystem-relative:relative" for resource in exe.pip_install(["pyside2"]): …
agentsmith
  • 1,226
  • 1
  • 14
  • 27
2
votes
0 answers

HAs anyone used pyoxidizer to create .exe file

I have created the .toml file called pyoxidizer.toml in the same folder where the script are placed. but when I run on the command file in the same folder where all the .py files (and the .toml file) are kept pyoxidizer build I get the error error:…
TRex
  • 445
  • 5
  • 14
1
vote
1 answer

Alternative to using __file__ find the binary folder in my python package

I published a library to PyPI ('nmrsim') that has the following structure (edited to only include the relevant files/folders): nmrsim ├── nmrsim │   ├── __init__.py │   ├── bin │   │   ├── T1.npz │   │   ⋮ │   │   └── T11.npz │   | │   └──…
Geoffrey Sametz
  • 618
  • 1
  • 6
  • 17
0
votes
0 answers

Options for Bundling a Python web server in Electron?

What are some options for packaging a python web server (i.e. flask, tornado, quart, sanic, etc.) that uses numpy inside an electron application? I took a look at PyOxidizer, but could not find any examples in the documentation to suggest that this…
chaimp
  • 16,897
  • 16
  • 53
  • 86
0
votes
0 answers

Managing non-code resources in PyOxidizer

I am trying to build an executable from Python (3.9) source in PyOxidizer. One of the packages uses importlib.resources to access non-source code files in a subdirectory of itself. package_root/ resource_dir/ resource.file …
mikb
  • 195
  • 13
0
votes
0 answers

PyOxidizer: "Must construct a QApplication before a QWidget"

I'm trying to build and distribute a python app with PyOxidizer but i cannot seem to get it to work. I tried other tools apart from PyOxidizer (like pyinstaller and pynsist) but to no avail, those are even worse and i can't even get the app to see…
Andrei
  • 59
  • 5