lbry-sdk/packaging/osx/lbry-osx-app/setup_app.py

30 lines
582 B
Python
Raw Normal View History

#!/usr/bin/env python
import os
from setuptools import setup
2016-10-15 05:01:15 +02:00
from lbrynet.conf import APP_NAME, ICON_PATH
APP = [os.path.join('lbrygui', 'main.py')]
DATA_FILES = []
DATA_FILES.append('app.icns')
OPTIONS = {
'iconfile': ICON_PATH,
'plist': {
'CFBundleIdentifier': 'io.lbry.LBRY',
'LSUIElement': True,
},
2016-06-21 20:28:29 +02:00
'packages': [
'lbrynet', 'lbryum', 'requests', 'unqlite', 'certifi',
'pkg_resources', 'json', 'jsonrpc', 'seccure',
],
}
setup(
name=APP_NAME,
app=APP,
options={'py2app': OPTIONS},
data_files=DATA_FILES,
2016-06-21 20:28:29 +02:00
)