Skip to main content

application bundle creator

Project description

application bundle creator

abcreate is a CLI tool to create a macOS application bundle from executables, libraries and resource files in a given installation prefix directory. It takes its instructions from an XML based configuration file (see the examples).

This tool was inspired by and built to replace GTK Mac Bundler in my projects. Features and fixes will be developed as I go and to the extent as required for said projects. There are no plans to turn this into a general-purpose "swiss army knife" of packaging tools.

💁 For the time being, this is to be considered "alpha" software. It works for the cases I need it to work.

Features

  • Require as little configuration as possible in a simple XML file that's easy to understand.
  • Automatically pull in linked libraries.
  • Automatically adjust library link paths in executables and libraries with relocatability in mind.
  • Targeted towards GTK based apps (GTK versions 3 and 4), e.g. take care of pixbuf loaders, compile typelib files etc.

Installation

abcreate is on PyPi, simply run:

pip install abcreate

Usage

Let's look at an example:

abcreate create bundle.xml -s $HOME/install_prefix -t $HOME
  • The first argument is a command. At the moment, there is only one command available, which is create.
  • The create command expects
    • the name of a XML configuration file, e.g. bundle.xml
    • a source directory (-s) containing bin, lib, share etc. directories, i.e. the install prefix of the software you want to package
    • a target directory (-t) where the application bundle will be created in

License

GPL-2.0-or-later

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

abcreate-0.5.tar.gz (36.5 kB view details)

Uploaded Source

Built Distribution

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

abcreate-0.5-py3-none-any.whl (37.7 kB view details)

Uploaded Python 3

File details

Details for the file abcreate-0.5.tar.gz.

File metadata

  • Download URL: abcreate-0.5.tar.gz
  • Upload date:
  • Size: 36.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for abcreate-0.5.tar.gz
Algorithm Hash digest
SHA256 675921b6869c420e947721aee8d1f4b566ee3f8e7151592cfb64c0325073d91e
MD5 a2f7a3a9dd9de21d479a2f8f684bbc49
BLAKE2b-256 b3f83cfd75dc69156e79f695a83fa254fa251f9b45e41f5c749d65f66ec18c4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for abcreate-0.5.tar.gz:

Publisher: build.yml on dehesselle/abcreate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file abcreate-0.5-py3-none-any.whl.

File metadata

  • Download URL: abcreate-0.5-py3-none-any.whl
  • Upload date:
  • Size: 37.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for abcreate-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0ca1fb50b021d469bbd97652b76ba835d90fcca12ff143a2fd9a9aacfb6967c5
MD5 729c44b7568f90270d903ea1c21d3d37
BLAKE2b-256 e027d196e824dffcbb8260c2e5d8892b9ba5cca7b78b019be47002ef45fdd725

See more details on using hashes here.

Provenance

The following attestation bundles were made for abcreate-0.5-py3-none-any.whl:

Publisher: build.yml on dehesselle/abcreate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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