Installation
$ [sudo] pip install mac-app-generator
$ [sudo] npm i -g mac-app-generator
Features
shell (mini) and python (full) versions
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
Metadata
Release files for mac-app-generator 2020.12.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mac-app-generator-2020.12.3.tar.gz | 4.7 kB | Details |
Release files / mac-app-generator-2020.12.3.tar.gz
| Download URL | mac-app-generator-2020.12.3.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b02f737d9148f0d258914a487a2b07a9b2e73d0d35e3c76ba31948f51214d297
|
|
BLAKE2b-256 checksum How to use checksums |
d295b8ffc221d6af332dd5dadbe5db81bd6df76c33cd4da4d3b6385123560392
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
|