change settings object for packages too
This commit is contained in:
parent
862055a6de
commit
e70ecc8ac9
5 changed files with 9 additions and 9 deletions
|
@ -24,7 +24,7 @@ if not os.path.isfile(lbrycrdd_path_conf):
|
|||
|
||||
from lbrynet.lbrynet_daemon.DaemonServer import DaemonServer
|
||||
from lbrynet.lbrynet_daemon.DaemonRequest import DaemonRequest
|
||||
from lbrynet import settings
|
||||
from lbrynet.conf import settings
|
||||
from lbrynet.core import utils
|
||||
|
||||
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
import os
|
||||
from setuptools import setup
|
||||
from lbrynet.conf import APP_NAME, ICON_PATH
|
||||
from lbrynet.conf import settings
|
||||
|
||||
APP = [os.path.join('lbrygui', 'main.py')]
|
||||
DATA_FILES = []
|
||||
DATA_FILES.append('app.icns')
|
||||
|
||||
OPTIONS = {
|
||||
'iconfile': ICON_PATH,
|
||||
'iconfile': settings.ICON_PATH,
|
||||
'plist': {
|
||||
'CFBundleIdentifier': 'io.lbry.LBRY',
|
||||
'LSUIElement': True,
|
||||
|
@ -22,7 +22,7 @@ OPTIONS = {
|
|||
|
||||
|
||||
setup(
|
||||
name=APP_NAME,
|
||||
name=settings.APP_NAME,
|
||||
app=APP,
|
||||
options={'py2app': OPTIONS},
|
||||
data_files=DATA_FILES,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from setuptools import setup
|
||||
import os
|
||||
from lbrynet.conf import PROTOCOL_PREFIX
|
||||
from lbrynet.conf import settings
|
||||
|
||||
APP = [os.path.join('lbry_uri_handler', 'LBRYURIHandler.py')]
|
||||
DATA_FILES = []
|
||||
|
@ -12,7 +12,7 @@ OPTIONS = {'argv_emulation': True,
|
|||
'CFBundleURLTypes': [
|
||||
{
|
||||
'CFBundleURLTypes': 'LBRYURIHandler',
|
||||
'CFBundleURLSchemes': [PROTOCOL_PREFIX]
|
||||
'CFBundleURLSchemes': [settings.PROTOCOL_PREFIX]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -23,4 +23,4 @@ setup(
|
|||
data_files=DATA_FILES,
|
||||
options={'py2app': OPTIONS},
|
||||
setup_requires=['py2app'],
|
||||
)
|
||||
)
|
||||
|
|
|
@ -5,7 +5,7 @@ import sys
|
|||
from time import sleep
|
||||
|
||||
from lbrynet.lbrynet_daemon.auth.client import LBRYAPIClient
|
||||
from lbrynet import settings
|
||||
from lbrynet.conf import settings
|
||||
|
||||
|
||||
class LBRYURIHandler(object):
|
||||
|
|
|
@ -21,7 +21,7 @@ except ImportError:
|
|||
from lbrynet.core import utils
|
||||
from lbrynet.lbrynet_daemon.DaemonServer import DaemonServer
|
||||
from lbrynet.lbrynet_daemon.DaemonRequest import DaemonRequest
|
||||
from lbrynet import settings
|
||||
from lbrynet.conf import settings
|
||||
from packaging.uri_handler.LBRYURIHandler import LBRYURIHandler
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue