2016-03-03 06:16:51 +01:00
|
|
|
from setuptools import setup
|
|
|
|
import os
|
|
|
|
|
|
|
|
APP = [os.path.join('lbrynet', 'lbrynet_daemon', 'Apps', 'LBRYURIHandler.py')]
|
|
|
|
DATA_FILES = []
|
|
|
|
OPTIONS = {'argv_emulation': True,
|
2016-03-24 00:49:14 +01:00
|
|
|
'packages': ['jsonrpc'],
|
2016-03-03 06:16:51 +01:00
|
|
|
'plist': {
|
2016-03-22 16:51:27 +01:00
|
|
|
'LSUIElement': True,
|
2016-03-03 06:16:51 +01:00
|
|
|
'CFBundleURLTypes': [
|
|
|
|
{
|
|
|
|
'CFBundleURLTypes': 'LBRYURIHandler',
|
|
|
|
'CFBundleURLSchemes': ['lbry']
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
setup(
|
|
|
|
app=APP,
|
|
|
|
data_files=DATA_FILES,
|
|
|
|
options={'py2app': OPTIONS},
|
|
|
|
setup_requires=['py2app'],
|
|
|
|
)
|