This Python script automates the process of packaging Blender addons by updating version information in TOML files and creating a zip package with only the addon files
Ensure you have Python installed on your system.
- Place the
addon-packager
directory containing theaddon_info.json
file and other addon files in the root directory. - Execute the script in the root directory where the
addon-packager
folder resides.
python addon_packager.py
- Initializes
addon_info.json
if not found. - Updates version information in TOML files.
- Packs addon files into a zip archive.
- Ensure that the
addon_info.json
file is correctly formatted and contains necessary addon information.