Skip to main content

Converts any executable to a non-self-contained mac app bundle which depends on system libraries.

Project description

shallow-appify

Introduction

Converts any executable to a non-self-contained mac app bundle which depends on system libraries. Other converters often have problems when complex dependencies (e.g. PyQt) must be included. shallow-appify avoids these problems by referencing present system libraries.

Installation

The latest version is available from PyPI:

pip install shallow-appify

If you use Arch Linux or one of its derivatives, you can also install shallow-appify from the AUR:

yay -S shallow-appify

Usage

usage: shallow-appify [-h] [-d EXECUTABLE_ROOT_PATH]
                      [-e ENVIRONMENT_VARS [ENVIRONMENT_VARS ...]] [-i ICON_PATH]
                      [-g GROUP] [-n] [-o APP_PATH] [-v VERSION_STRING]
                      [--conda CONDA_REQ_FILE]
                      [--conda-channels CONDA_CHANNELS [CONDA_CHANNELS ...]]
                      [--extension-makefile EXTENSION_MAKEFILE]
                      executable_path

Creates a runnable application for Mac OS X with references to system
libraries. The result is a NON-self-contained app bundle.

positional arguments:
  executable_path       Sets the executable that is started when the app is
                        opened.

optional arguments:
  -h, --help            show this help message and exit
  -d EXECUTABLE_ROOT_PATH, --executable-directory EXECUTABLE_ROOT_PATH
                        Defines the executable root directory that will be
                        included in the app.
  -e ENVIRONMENT_VARS [ENVIRONMENT_VARS ...], --environment ENVIRONMENT_VARS [ENVIRONMENT_VARS ...]
                        Specifies which environment variables -- set on the
                        current interpreter startup -- shall be included in
                        the app bundle.
  -i ICON_PATH, --icon ICON_PATH
                        Image file that is used for app icon creation. It must
                        be quadratic with a resolution of 1024x1024 pixels or
                        more.
  -g GROUP, --group GROUP
                        Developer group name that is saved to the internal app
                        plist.
  -n, --hidden          Hides the app icon in the dock when given.
  -o APP_PATH, --output APP_PATH
                        Sets the path the app will be saved to.
  -v VERSION_STRING, --version VERSION_STRING
                        Specifies the version string of the program.
  --conda CONDA_REQ_FILE
                        (Python only) Creates a miniconda environment from the
                        given conda requirements file and includes it in the
                        app bundle. Can be used to create self-contained
                        python apps.
  --conda-channels CONDA_CHANNELS [CONDA_CHANNELS ...]
                        (Python only) A list of custom conda channels to
                        install packages that are not included in the main
                        anaconda distribution.
  --extension-makefile EXTENSION_MAKEFILE
                        (Python only) Path to a makefile for building python
                        extension modules. The makefile is called with the
                        target "app_extension_modules" and a variable
                        "PYLIBPATH" that holds the path to the conda python
                        library.

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

shallow-appify-0.4.4.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

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

shallow_appify-0.4.4-py2.py3-none-any.whl (19.7 kB view details)

Uploaded Python 2Python 3

File details

Details for the file shallow-appify-0.4.4.tar.gz.

File metadata

  • Download URL: shallow-appify-0.4.4.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for shallow-appify-0.4.4.tar.gz
Algorithm Hash digest
SHA256 d2b49395eca859cc5ef458e3c519f9a633a94b41f6e43c9bac8e0942935c7ee7
MD5 4fd2224600c942049695e5755596b979
BLAKE2b-256 d046a7948509e0e5602a7a079994b8e91fd8b246e6ebd9e224146dc30c772a2f

See more details on using hashes here.

File details

Details for the file shallow_appify-0.4.4-py2.py3-none-any.whl.

File metadata

  • Download URL: shallow_appify-0.4.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for shallow_appify-0.4.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e0a9527a3687304a4effdc9a56cd7debc2becaea21c198ffddcf6d403f970aa0
MD5 cfb89c1c06e67b2a71db754acabc8cc8
BLAKE2b-256 f83c84d6fb6518827aa4b8b27a35378a12e785eea85e9869e5a70c4c2ca8b704

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