GUI package manager for Houdini
Project description
Houdini Package Manager
A comprehensive GUI package manager for Houdini. Manage all your plugins and create new packages with ease.
- Download the application: https://houpm.com
- Github repository: https://github.com/ariffjeff/houdini-package-manager
- PyPI repository: https://pypi.org/project/houdini-package-manager
How it Works
HPM is a Python application that basically grabs your plugins' package config files and converts them into a nice UI with a bunch of useful functionality.
1. On a high level, HPM does this for all installed versions of Houdini it finds upon startup:
- Gets Houdini's environment variable key value pairs.
- Gets the raw json package config data (some values might contain variables), typically found in
/packages
. - Uses the Houdini environment variables to resolve the package config variables. The data as a whole is also simplified.
- Creates arbitrary objects from this resolved package config/plugin data.
- Converts this package/plugin data into a Pyside6 UI with accompanying functionality.
- This is all then built into an executable with
Pyinstaller
.
2. Creating package configs for new plugins:
- You can create new package configs for plugins you have downloaded to quickly get them into Houdini hassle free.
- HPM takes the plugin folder path, HDA, or script you provide it and simply creates a new package config from a template, and puts it in
/packages
.
Install
- Download the latest version from https://houpm.com
- Unzip and store the folder anywhere you want.
- Create a shortcut of the Houdini_Package_Manager-x.y.z.exe file from the folder.
- Now you can run HPM from the shortcut, that's all there is to it!
Building the project yourself
Note: This project was primarily tested with Python 3.9.10.
- Install the Poetry dependency manager.
- Clone HPM
- Open a terminal, and
cd
to it.
- Open a terminal, and
- Do
poetry install
- Make your code changes and commit them
- If you're adding other files/images/vectors/etc., put them somewhere appropriate in
houdini_package_manager/resources/
- If you're adding other files/images/vectors/etc., put them somewhere appropriate in
- Version bump (optional)
- Automatic version bump:
- Do
poetry version minor
. Usemajor
orpatch
in place ofminor
if appropriate. These will automatically be updated:pyproject.toml
__version__
in__init__.py
(due to poetry-bumpversion being installed in this project)- The relevant HTML in
houpm.com
- The final executable and .zip file/folder names
- Do
- Manual version bump:
- Do
poetry version 1.2.3
- Do
- Commit the version bump later along with a new build (keep reading next steps).
- Automatic version bump:
- Do
make prepare
- This does all the final build management automatically by running a bunch of other commands.
- Review these make commands only if you need to use them individually...
make test
runs the project pytests. Skip them withmake prepare TEST=0
make build-exe
builds the project. It will appear indist/
resources/
is copied to the build folder automatically so you don't have to worry about it.- The build folder and .exe name is determined by the version number set by the result of
poetry version ...
(referenced in the Makefile)
make zip
zips the build indist/
make dist-move
creates a copy of the dist build in the HouPM website dist_hpm folder.make update-houpm
updates HPM version html in houpm website.
- Run/test the build (sanity check)
- Run the build
- Different methods:
- Go to
dist/
, find the .exe and run it. - Or do
make run-exe
.- Be aware this doesn't run it directly in the folder its in, which can lead to the issue of relative file paths not being able to find the files they're targetting if the paths have been set improperly... i.e. images failing to load. Make sure you set file paths with
utils.epath()
which automatically handles relative paths correctly for both the dev and build environment.
- Be aware this doesn't run it directly in the folder its in, which can lead to the issue of relative file paths not being able to find the files they're targetting if the paths have been set improperly... i.e. images failing to load. Make sure you set file paths with
- Go to
- Different methods:
- If you get unexpected behavior or a crash:
- Check the app folder for a .log crash file.
- Crash log files currently are timestamped/created immediately upon exe run. If HPM is closed (not from a crash and not via the debug console) then the log file will be deleted.
- Do
make build-exe-log
to make an exe that displays a debug console on run which you can inspect. If any errors occur you'll be able to see them there.
- Check the app folder for a .log crash file.
- Run the build
- Commit
- Commit both the version bump (mentioned before) and the new build .zip together.
- The commit message should just be the version number (e.g.
1.3.2
) for convention. - Try not to commit anything else with these for simplicity.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file houdini_package_manager-1.1.0.tar.gz
.
File metadata
- Download URL: houdini_package_manager-1.1.0.tar.gz
- Upload date:
- Size: 3.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8dadfd85774b42a2db3044cf0d45b6e5409c1af2c976296bcfd8322f4cbb98f5 |
|
MD5 | 12ed82148fa5f980da003c06de6a4fdb |
|
BLAKE2b-256 | b522d696da3f46a91d0a88532670987049ee1d5274a0ce9da85efe94bf22d617 |
File details
Details for the file houdini_package_manager-1.1.0-py3-none-any.whl
.
File metadata
- Download URL: houdini_package_manager-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.2.0-1016-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | db1eea1df7c25c406296798f9095a34513fdda6459979b4484613eaa55221877 |
|
MD5 | 445ee2c235a6a18fb55726156a6c2594 |
|
BLAKE2b-256 | 43f1e4c5fa09ec46b9a415e6226cee759781662e300667a08887feb51e17bda0 |