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.0.tar.gz (141.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bundle_app-1.0.0-py3-none-any.whl (140.1 kB view details)

Uploaded Python 3

File details

Details for the file bundle-app-1.0.0.tar.gz.

File metadata

  • Download URL: bundle-app-1.0.0.tar.gz
  • Upload date:
  • Size: 141.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for bundle-app-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a63236cdb6d128412bee7afe9ee8984158f1b928ebba0a0edf43fe388a749d5a
MD5 6c05b89104894d369fb48fb176102e53
BLAKE2b-256 8dbcb18ff936326bc26dc0fe1b7fc2bcaa7bef47ce10aa17b271aa71b8287aaf

See more details on using hashes here.

File details

Details for the file bundle_app-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bundle_app-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 140.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for bundle_app-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c6b7bf73c5252850d6254141febcff468dc9673ccc6e959a4e100740655728f
MD5 68673dfa373c8536b7b1de12cb36e1ec
BLAKE2b-256 8b979a585ea6630ff58569fd9d382e8722f5a260614b12fb88d2583c101d63f5

See more details on using hashes here.

Supported by

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