|
4 | 4 |
|
5 | 5 | from setuptools import setup |
6 | 6 |
|
| 7 | +VERSION = "2.0.0" |
| 8 | +APP_NAME="KanbanView" |
7 | 9 | APP = ['src/things3_app.py'] |
8 | | -DATA_FILES = [('resources', ['resources/*']), |
| 10 | +DATA_FILES = [('resources', ["resources/logo.png"]), |
| 11 | + ('resources', ["resources/kanban.js"]), |
| 12 | + ('resources', ["resources/kanban.css"]), |
| 13 | + ('resources', ["resources/kanban.html"]), |
| 14 | + ('resources', ["resources/favicon.ico"]), |
9 | 15 | 'src/things3.py', 'src/things3_api.py'] |
10 | 16 | OPTIONS = { |
11 | 17 | 'argv_emulation': True, |
12 | | - 'plist': {'CFBundleName': "KanbanView", |
13 | | - 'CFBundleDisplayName': "KanbanView", |
14 | | - 'CFBundleGetInfoString': "KanbanView", |
| 18 | + 'plist': {'CFBundleName': APP_NAME, |
| 19 | + 'CFBundleDisplayName': APP_NAME, |
| 20 | + 'CFBundleGetInfoString': APP_NAME, |
15 | 21 | 'CFBundleIdentifier': "ws.willner.kanbanview", |
16 | | - 'CFBundleVersion': "2.0.0", |
17 | | - 'CFBundleShortVersionString': "2.0.0", |
| 22 | + 'CFBundleVersion': VERSION, |
| 23 | + 'CFBundleShortVersionString': VERSION, |
18 | 24 | 'NSHumanReadableCopyright':'Copyright 2020 Alexander Willner'}, |
19 | 25 | 'optimize':'2' |
20 | 26 | } |
21 | 27 |
|
22 | 28 | setup( |
23 | 29 | app=APP, |
24 | | - name='KanbanView', |
| 30 | + name=APP_NAME, |
| 31 | + version=VERSION, |
25 | 32 | data_files=DATA_FILES, |
26 | 33 | options={'py2app': OPTIONS}, |
27 | 34 | setup_requires=['py2app'], |
|
0 commit comments