forked from LibreScanner/horus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup_mac.py
37 lines (31 loc) · 987 Bytes
/
setup_mac.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# coding=utf-8
import os
from setuptools import setup
version = os.environ.get('VERSION')
APP = ['src/horus.py']
DATA_FILES = ['doc','res']
PLIST = {
u'CFBundleName': u'Horus',
u'CFBundleShortVersionString': version,
u'CFBundleVersion': version,
u'CFBundleIdentifier': u'com.bq.Horus-'+version,
u'LSMinimumSystemVersion': u'10.8',
u'LSApplicationCategoryType': u'public.app-category.graphics-design'
}
OPTIONS = {
'argv_emulation': False,
'iconfile': 'res/horus.icns',
'plist': PLIST
}
setup(name='Horus',
version=version,
author='Jesús Arroyo Torrens',
author_email='[email protected]',
description='Horus is a full software solution for 3D scanning',
license='GPLv2',
keywords="horus ciclop scanning 3d",
url='https://www.diwo.bq.com/tag/ciclop',
app=APP,
data_files=DATA_FILES,
options={'py2app': OPTIONS},
setup_requires=['py2app'])