Quellcode durchsuchen

Added Icon and py2app setup script

Thomas Buck vor 8 Jahren
Ursprung
Commit
40b2937bad
2 geänderte Dateien mit 35 neuen und 0 gelöschten Zeilen
  1. BIN
      icon.icns
  2. 35
    0
      setup_mac.py

BIN
icon.icns Datei anzeigen


+ 35
- 0
setup_mac.py Datei anzeigen

@@ -0,0 +1,35 @@
1
+#!/usr/bin/env python
2
+# -*- coding: utf-8 -*-
3
+
4
+"""
5
+This is a setup.py script generated by py2applet
6
+
7
+Usage:
8
+    python setup.py py2app
9
+"""
10
+
11
+from setuptools import setup
12
+
13
+APP = ['bed-leveling.py']
14
+APP_NAME = "Bed Leveling"
15
+DATA_FILES = []
16
+OPTIONS = {
17
+    'argv_emulation': True,
18
+    'iconfile': 'icon.icns',
19
+    'plist': {
20
+        'CFBundleName': APP_NAME,
21
+        'CFBundleDisplayName': APP_NAME,
22
+        'CFBundleGetInfoString': "Marlin Firmware Mesh Bed Leveling Utility",
23
+        'CFBundleIdentifier': "de.xythobuz.bed-leveling",
24
+        'CFBundleVersion': "0.1.0",
25
+        'CFBundleShortVersionString': "0.1.0",
26
+        'NSHumanReadableCopyright': u"Copyright © 2016, Thomas Buck, All Rights Reserved"
27
+    }
28
+}
29
+
30
+setup(
31
+    app=APP,
32
+    data_files=DATA_FILES,
33
+    options={'py2app': OPTIONS},
34
+    setup_requires=['py2app'],
35
+)

Laden…
Abbrechen
Speichern