Browse Source

Added Icon and py2app setup script

Thomas Buck 8 years ago
parent
commit
40b2937bad
2 changed files with 35 additions and 0 deletions
  1. BIN
      icon.icns
  2. 35
    0
      setup_mac.py

BIN
icon.icns View File


+ 35
- 0
setup_mac.py View File

@@ -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
+)

Loading…
Cancel
Save