Skip to main content

Constructs a macOS App bundle with a python executable.

Project description

This python package builds a macOS Application bundle for a python/tkinter app. It embeds the frameworks built by the 3-manifolds frameworks project within the app.

To get started, by building a simple example app, run this command:

python3 -m bundle_app.init Silly

This will create a directory named silly which serves as a development directory for the app. In particular, the script main.py is what runs your app. To create your silly app, do:

cd silly
python3 -m bundle_app.build

When you build your real app you will want to replace the icon file with one designed for your app and edit main.py so that it runs your app. You may create a Requirements.txt file in the development directory to specify pypi packages which should be installed within the embedded python framework. You may also edit info.toml and the sdef file to suit your needs.

To add pypi packages to your app, add a standard requirements.txt file to the development directory and run:

python3 -m bundle_app.add_packages

To remove unnecessary components and reduce the size of your app bundle, first edit the file superfluous.txt and then run:

python3 -m bundle_app.streamline

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bundle-app-1.0.2.tar.gz (141.6 kB view hashes)

Uploaded Source

Built Distribution

bundle_app-1.0.2-py3-none-any.whl (140.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page