Skip to main content

Mac app generator

Project description

Installation

$ [sudo] pip install mac-app-generator

Features

shell (mini) and python (full) versions

Classes

class __doc__
mac_app_generator.App Mac app generator. writable properties: app_folder, app_name, app_path, app_code, app_script, app_image, app_stderr, app_stdout, app_env. methods: create_app()

CLI

usage: mac-app-generator script app [image]

Examples

create app from shell script

$ mac-app-generator script.sh name.app
$ mac-app-generator script.sh name.app Icon.png

create app from python script

>>> mac_app.App(app_script="file.py", app_path="name.app").create_app()

create app from a python class

import mac_app_generator
class MyApp(mac_app_generator.App):
    def run(self):
        pass

if __name__ == "__main__":
    MyApp().run()
>>> MyApp().create_app()

Related projects

readme-generator

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

mac-app-generator-2018.12.20.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

mac_app_generator-2018.12.20-py2.py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page