Skip to main content

WhatAmIThinking-Bundler

Package python apps for deployment on different platforms

Table of Contents

Requirements

Requirements - Windows

Inno Setup is used on windows to build the installer. A .iss script is generated by this package, but that must be compiled and built into an inno setup installer and that requires the compiler be installed on your build system.

You may also need to add the program folder to your environment Path so the iscc program can be accessed from the shell.

Known Issues

Known Issues - Windows

Antivirus seems to sometimes lock up PE (exe) files, preventing them from being written to. If you do not have the power to exclude your build folder from the antivirus scans, the next best solutions are as follow:

  • Try using another machine or VM which is not running antivirus
  • Just let the program continue its attempts until it finally works. Increase the timeout, if needed, to give more time for attempts

Use Cases

Use Cases - Making an App Which Creates More Apps

Lets say you want to make a python app which allows users to generate their own apps using this package to build them.

  • Parent App: App which will generate the Child Apps
  • Child App: App being generated by the Parent App

Use Cases - Making an App Which Creates More Apps - Parent App Setup

To support this, the Parent App must set embed_python=True in BundleConfig when it is being built so all the necessary files are present when it tries to build apps itself. This is VERY slow, taking several minutes to complete the following:

  • Copies the current full python install from the system
  • Copies all site-packages from the current venv, if running in a venv

It is recommended to set bundle_mode="folder" for the Parent App due to the large resulting size as a result of embedding a full python interpreter and packages (several hundred megabytes).

It is also recommended to get a clean install of your system python prior to building the Parent App and to only install what you need into the venv for your project, if using one, or else into that system python, because everything will get copied into the Parent App.

Use Cases - Making an App Which Creates More Apps - Child App Setup

Nothing special needs to be done for the child app. Its build does not require any special flags or setup beyond what you would normally do if building directly from your DEV machine.

Metadata

Release files for whatamithinking-bundler 1.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whatamithinking-bundler 1.3.1
File Size Uploaded
whatamithinking_bundler-1.3.1.tar.gz 15.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for whatamithinking-bundler 1.3.1
File Interpreter ABI Platform
whatamithinking_bundler-1.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 33.3 kB

Release files / whatamithinking_bundler-1.3.1.tar.gz

Download URL whatamithinking_bundler-1.3.1.tar.gz
Size 15.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ce0f058fb097f157edd3b86c9972dd5d2888d30f395bcf2d34b2a8f6f89a3022
BLAKE2b-256 checksum
How to use checksums
cc7a79d878c19f2755feb945277caf88b4c1e520a5deb0d1bdb12262b173e993
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release files / whatamithinking_bundler-1.3.1-py3-none-any.whl

Download URL whatamithinking_bundler-1.3.1-py3-none-any.whl
Size 17.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22c6bc96b32ccbd00bb716a9f87ce195e1e055de5e2e786677e7457eec03fa74
BLAKE2b-256 checksum
How to use checksums
1a27eb3351cf9a0a0556a4537c7960f75a91ba44693a6b97bcc890d47ebcad68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.11

Release history Release notifications | RSS feed

This release

1.3.1 This release

2 release files

1.3.0

2 release files

1.2.0

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page