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