forked from LBRYCommunity/lbry-sdk
da13192cfe
Also related: - install framework version of python - ensure unencrypted keys are never accidently added to repo
30 lines
610 B
Python
30 lines
610 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
from setuptools import setup
|
|
from lbrynet.conf import PROTOCOL_PREFIX, APP_NAME, ICON_PATH
|
|
import sys
|
|
|
|
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,
|
|
},
|
|
'packages': [
|
|
'lbrynet', 'lbryum', 'requests', 'unqlite', 'certifi',
|
|
'pkg_resources', 'json', 'jsonrpc', 'seccure',
|
|
],
|
|
}
|
|
|
|
|
|
setup(
|
|
name=APP_NAME,
|
|
app=APP,
|
|
options={'py2app': OPTIONS},
|
|
data_files=DATA_FILES,
|
|
)
|