Releasing the distribution tools


Today, I’m releasing the tools that I have written to make Ren’Py distribution for the Mac a bit easier. This package, renpy-distribute-tools, is an open-source module for Python 3 and is Poetry-compatible.

Why not renpy/mac-notarization?

I started developing the tools before the scripts published on the Ren’Py GitHub were uploaded. Initially, the tools were bundled in the same place where I develop Unscripted, but I’ve moved them elsewhere when modernizing the Unscripted project. These tools also are just a bunch of Python functions and classes, so you can integrate them more easily into your workflow.

How to get it

You can get the tools at via GitHub. You can either download the latest release, clone the source code manually, or add them as a dependency to your Poetry project if you’re using Poetry to manage your VN:

renpy-distribute-tools = { git = "", rev = "v0.2.2" }

How to use it

The tools don’t come with any pre-built scripts like the Mac notarization tools provided by Ren’Py, but you can call the methods in the module to simplify the process.

For instance, if you want to fix the property list for the Mac build, code sign, and notarize it:

from renpy_distribute_tools import fix_plist, code_sign, upload_to_notary

author = "Joe Smith"
bundle_identifier = ""
code_sign_identity = "Developer ID Application: Joe Smith (XXXXXXXXXX)"
app_path = "VN-1.0.0-dists/VN-1.0.0-mac/"
apple_email = ""
apple_provider = "XXXXXXXXXX"

fix_plist(app_path + "/Contents/Info.plist",
          "© %s %s. All rights reserved." % (, author))
except CalledProcessError:
    print("\033[31;1mNotarization request failed. Aborting.\033[0m")

There’s also some documentation that you can read at to know what functions are available for use.

Get Unscripted

Buy Now$6.99 USD or more

Leave a comment

Log in with to leave a comment.