5a76a03cb6
-conditionally import PTCWallet (needed for testing, requires unqlite) -install unqlite on travis and appveyor
29 lines
578 B
Python
29 lines
578 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
from setuptools import setup
|
|
from lbrynet.conf import settings
|
|
|
|
APP = [os.path.join('lbrygui', 'main.py')]
|
|
DATA_FILES = []
|
|
DATA_FILES.append('app.icns')
|
|
|
|
OPTIONS = {
|
|
'iconfile': settings.ICON_PATH,
|
|
'plist': {
|
|
'CFBundleIdentifier': 'io.lbry.LBRY',
|
|
'LSUIElement': True,
|
|
},
|
|
'packages': [
|
|
'lbrynet', 'lbryum', 'requests', 'certifi',
|
|
'pkg_resources', 'json', 'jsonrpc', 'seccure',
|
|
],
|
|
}
|
|
|
|
|
|
setup(
|
|
name=settings.APP_NAME,
|
|
app=APP,
|
|
options={'py2app': OPTIONS},
|
|
data_files=DATA_FILES,
|
|
)
|