Rok Mandeljc
Rok Mandeljc
With the current PyInstaller design, I think having hooks for packages is somewhat unavoidable, even if we ignore `delvewheel` for a bit. That's because PyInstaller does not automatically collect arbitrary...
> Hi, I noticed the introduction of the `collect_delvewheel_libs_directory()` function in [pyinstaller/pyinstaller@9373f07](https://github.com/pyinstaller/pyinstaller/commit/9373f07c7724d3bc7a55da9b36a251f5965e3b51). Would it be helpful if I were to have `delvewheel` inject a hook that calls this function whenever...
It's in `site-packages/torchvision/.dylibs/libc++.1.0.dylib`. That said, those warnings are result of our dependency scanner lacking support for proper interpretation of rpaths, and are often just warnings. Those libraries may end up...
> What top-level directory? Top-level application directory of a `onedir` build.
> `--paths='/Users/rpm/.pyenv/versions/3.8.8/Python.framework/Versions/3.8/lib/python3.8/site-packages/' --paths='/Users/rpm/.pyenv/versions/3.8.8/lib/python3.8/site-packages/'` If you find yourself adding your python's site-packages to search path, you're likely doing something wrong. If it actually solves some kind of problem, then you either...
> If I copy the so into the dist directory and try to run the program I get a pile of errors: This pile of errors is probably due to...
> Now that this is running, how do I make these same changes with a onefile build??? Since PyInstaller does not support symlinks in a onefile build, the only way...
> I can't copy them after the build is finished, because I need a `.app` file. Copying manually will cause the signature to fail. You can modify the generated .app...
> Is there a similar workaround (for either the `onedir` or the `onefile` solution) for packaging on Windows where the ability to create symlinks isn't available to the average user?...
You'll need to add `numpy.distutils` (and several submodules from it) to `hiddenimports`. On PyInstaller 4.3, the easiest way to do so is adding `--collect-submodules numpy.distutils` to your pyinstaller command line.