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.1.tar.gz (141.5 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.1-py3-none-any.whl (140.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bundle-app-1.0.1.tar.gz
  • Upload date:
  • Size: 141.5 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.1.tar.gz
Algorithm Hash digest
SHA256 2bf7a96a54a7fd1da8c32a0bb052d8f549b23dbacc78e418a5b8af29775bce39
MD5 47cf879eb1b5bb6ada193f7566e89976
BLAKE2b-256 ec8bf774291ff33edad16f7b74b9af1731084b2609ead5f26c44deef733e528a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bundle_app-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 140.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 83ee17f8afc650e47b0af04b49ef6881f4e1e3106e9048901c6bcb7322d3a328
MD5 f9d9a1e9814f2f58d092bde16c7d0294
BLAKE2b-256 1f891179f4c6b548bf17e57d5ba475f85c2ecea6b85203b8f976cc4373e0bb9d

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