소스 검색

Added Icon and py2app setup script

Thomas Buck 8 년 전
부모
커밋
40b2937bad
2개의 변경된 파일35개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      icon.icns
  2. 35
    0
      setup_mac.py

BIN
icon.icns 파일 보기


+ 35
- 0
setup_mac.py 파일 보기

@@ -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…
취소
저장