Plugget manifest
notes¶
- can i use toml and pip isntead of a custom config template(our manifest)?
can i load extra data from toml, just like bl_info?
pip install # subdirectory (Fragment Identifier)
can we reuse pip install?
⚠️ note this is pip, not git
pip supports install from subdir, see examples
but this requires a setup file or wheel. not just a directory of files (e.g. blender addons or unity packages are just folders)
py -m pip install -e "git+https://git.repo/some_repo.git#egg=subdir&subdirectory=subdir_path"
# alternative
py -m pip install SomePackage[PDF]
py -m pip install "SomePackage[PDF] @ git+https://git.repo/SomePackage@main#subdirectory=subdir_path"
py -m pip install .[PDF] # project in current directory
py -m pip install SomePackage[PDF]==3.0
py -m pip install SomePackage[PDF,EPUB] # multiple extras
Backlinks¶
- plugget package
- A plugget package is basically a plugget manifest.
- expose a python tool in plugget without wrapping it
- no time is wasted creating skeleton wrapper plugins. (Though, you still need to set up a plugget manifest ), and less code maintenance. Also less code complexity.
- I can use plugget actions to define launch commands.
And right-clicking on the name in plugget qt lets the user run any defined action. - Defined a plugget manifest for the clock demo: https://github.com/plugget/plugget-pkgs/tree/main/unreal/pyside6-clock-demo
- Plugget - run startup code without a plugin
- This is an idea / brainstorm, startup code is not yet implemented in the plugget manifest.
- plugget - define an action in the manifest
- an example of defining a custom action in the plugget manifest
- plugget - define dependencies in the manifest
- plugget add support for pip dependencies
- we can add a new action to install python dependencies, if defined in the plugget manifest
- plugget manifest overlaps with pyproject
- a plugget manifest has a lot of overlap with a pyproject.toml