I want to make a package that namespaces avro
#8718
-
Hi, we have a package, So, my question is:
cc : @hitblast |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
This question doesn't make a lot of sense but I'm guessing you mean that you have a package with the same importable name as |
Beta Was this translation helpful? Give feedback.
-
You can override any standard hook from PyInstaller or pyinstaller-hooks-contrib by creating your own hook, and passing its parent directory to PyInstaller via E.g., create a directory called |
Beta Was this translation helpful? Give feedback.
You can override any standard hook from PyInstaller or pyinstaller-hooks-contrib by creating your own hook, and passing its parent directory to PyInstaller via
--additional-hooks-dir
.E.g., create a directory called
my-hooks
, and createhook-avro.py
in it. Then pass the path to your custom hooks directory to PyInstaller via--additional-hooks-dir my-hooks
. Your custom hook will then be ran instead of the one provided by pyinstaller-hooks-contrib. You can make it completely no-op (leave it empty), or customize it to your package, if necessary.