-
Notifications
You must be signed in to change notification settings - Fork 254
/
setup_mac.py
39 lines (33 loc) · 1.04 KB
/
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
38
39
# coding=utf-8
import os
import sys
from setuptools import setup
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
from horus import __version__
APP = ['horus']
DATA_FILES = ['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='jesus.arroyo@bq.com',
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'])