![]() ![]() If you wish to create a virtual environment then do it now before proceeding to the next step. You can name this branch whatever you like. (If you have a fork already but its old, click the Fetch upstream button on your fork's homepage.)Ĭlone and cd inside your fork by running the following (replacing bob-the-barnacle with your github username): git clone Ĭreate a new branch for you changes (replacing foo with the name of the package): Setupįork this repo if you haven't already done so. Unless you are very comfortable with git rebase -i, please provide one hook per pull request! If you have more than one then submit them in separate pull requests. If you've been here before then you may want to skip to the summary checklist The rest of this page will walk you through the process of contributing a hook. If you've got a hook you want to share then great! Hooks that support configuration (options) and their options are documented in If you'd like to add a hook, or view information about hooks, Pyinstaller-hooks-contrib is automatically installed when you install PyInstaller, or can be installed with pip: pip install -U pyinstaller-hooks-contribĮither a-package works fine without a hook, or no-one has contributed hooks. This repository is a collection of hooks for many packages, and allows PyInstaller to work with these packages Such as the data files and (hidden) imports mentioned above. A package hook (there are several types of those) tells PyInstaller what to include in the final app. ![]() A runtime hook helps the bootloader to launch an app, setting up theĮnvironment. The word "hook" is used for two kinds of files. In summary, a "hook" file extends PyInstaller to adapt it to the special needs and methods used by a Python package. Your package requires others which PyInstaller can't see? How do you fix that? What happens when (your?) package doesn't work with PyInstaller? Say you have data files that you need at runtime? Pyinstaller-hooks-contrib: The PyInstaller community hooks repository ![]()
0 Comments
Leave a Reply. |