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 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.2-py3-none-any.whl (140.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bundle-app-1.0.2.tar.gz
  • Upload date:
  • Size: 141.6 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.2.tar.gz
Algorithm Hash digest
SHA256 ce99ff0895d476f6ac182ba65edb13e2878c387195ab5ac5fd1a8fdb178f238b
MD5 3c8e9fad9bbcb04e7d2faf3d1ff01b32
BLAKE2b-256 802883fd51268f54e87ba24fb4eebede86f259846f903647521776c6b3072c36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bundle_app-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 140.3 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 44ee04d439109aa8031bc836545d90973d56bc7d40f67ba547e807348c366deb
MD5 741e79ec88a982ae1f047e1f1e0fbe8f
BLAKE2b-256 8c48220181c7cecb6d7e59b00e5969db1e1e4e67753745dfeeb5de586458cb92

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