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.0

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.0
File Size Uploaded
whatamithinking_bundler-1.3.0.tar.gz 15.2 kB Details

Built distribution (wheel)

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

Total release size: 32.1 kB

Release files / whatamithinking_bundler-1.3.0.tar.gz

Download URL whatamithinking_bundler-1.3.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c4aef098b71ed40e5e0228496314ce0c877ae109314f3de76350c4af38577c65
BLAKE2b-256 checksum
How to use checksums
0add598f9b917c7ac61a207979caaf3760d7ec20da3e28fceaa938466376e43d
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.0-py3-none-any.whl

Download URL whatamithinking_bundler-1.3.0-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1578966b9b41f64cfcb22addbd22a1453e704c94e4d248b4612920a21643a499
BLAKE2b-256 checksum
How to use checksums
60bdc1c2331711b2ad35ce9abaead0fc57c593955ba91dc591681e4c011ad780
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

1.3.1

2 release files

This release

1.3.0 This release

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