Skip to content

I want to make a package that namespaces avro #8718

Answered by rokm
baseplate-admin asked this question in Help
Discussion options

You must be logged in to vote

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 create hook-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.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@baseplate-admin
Comment options

@bwoodsend
Comment options

@rokm
Comment options

Comment options

You must be logged in to vote
1 reply
@baseplate-admin
Comment options

Answer selected by baseplate-admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants