forked from LBRYCommunity/lbry-sdk
39b2e44492
In the next commit I change conf.settings to be initialized at runtime instead of load time and so any import of `from lbrynet.conf import settings` will be and stay None if it happens before the initialization.
29 lines
561 B
Python
29 lines
561 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
from setuptools import setup
|
|
from lbrynet import conf
|
|
|
|
APP = [os.path.join('lbrygui', 'main.py')]
|
|
DATA_FILES = []
|
|
DATA_FILES.append('app.icns')
|
|
|
|
OPTIONS = {
|
|
'iconfile': conf.ICON_PATH,
|
|
'plist': {
|
|
'CFBundleIdentifier': 'io.lbry.LBRY',
|
|
'LSUIElement': True,
|
|
},
|
|
'packages': [
|
|
'lbrynet', 'lbryum', 'requests', 'certifi',
|
|
'pkg_resources', 'json', 'jsonrpc', 'seccure',
|
|
],
|
|
}
|
|
|
|
|
|
setup(
|
|
name=conf.APP_NAME,
|
|
app=APP,
|
|
options={'py2app': OPTIONS},
|
|
data_files=DATA_FILES,
|
|
)
|