Skip to content

How to Build a Python App with PySide or Other Dependency

Wiesław Kielas edited this page Jun 30, 2015 · 1 revision

Buildpack

You need to use a special Python buildpack that allows the preinstallation of wheel packages for dependencies. Check the existing buildpack to se if python_buildpack-v1.3.5-whls.zip already exists.

App preparation

  1. Follow build instructions for PySide (or other) and create a wheel package.

    http://pyside.readthedocs.org/en/latest/building/linux.html

  2. Create a directory called vendor-whl inside the App tree, and move a copy of the wheel package built in the previous step to this location.

  3. Push an app with our custom python buildpack.

Clone this wiki locally