rename downloader gui to simply gui
|
@ -4,8 +4,8 @@ import sys
|
|||
import tkFont
|
||||
import tkMessageBox
|
||||
import ttk
|
||||
from lbrynet.lbrynet_downloader_gui.LBRYDownloader import LBRYDownloader
|
||||
from lbrynet.lbrynet_downloader_gui.StreamFrame import StreamFrame
|
||||
from lbrynet.lbrynet_gui.LBRYGui import LBRYDownloader
|
||||
from lbrynet.lbrynet_gui.StreamFrame import StreamFrame
|
||||
import locale
|
||||
import os
|
||||
from twisted.internet import defer, reactor, tksupport, task
|
Before Width: | Height: | Size: 188 B After Width: | Height: | Size: 188 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 72 B After Width: | Height: | Size: 72 B |
|
@ -1,25 +1,25 @@
|
|||
import logging
|
||||
import sys
|
||||
|
||||
from lbrynet.lbrynet_downloader_gui.DownloaderApp import DownloaderApp
|
||||
from lbrynet.lbrynet_gui.GuiApp import DownloaderApp
|
||||
from twisted.internet import reactor, task
|
||||
import locale
|
||||
|
||||
|
||||
def start_downloader():
|
||||
def start_gui():
|
||||
|
||||
log_format = "(%(asctime)s)[%(filename)s:%(lineno)s] %(funcName)s(): %(message)s"
|
||||
formatter = logging.Formatter(log_format)
|
||||
|
||||
logger = logging.getLogger()
|
||||
logger.setLevel(logging.DEBUG)
|
||||
file_handler = logging.FileHandler("downloader.log")
|
||||
file_handler = logging.FileHandler("gui.log")
|
||||
file_handler.setFormatter(formatter)
|
||||
file_handler.addFilter(logging.Filter("lbrynet"))
|
||||
logger.addHandler(file_handler)
|
||||
|
||||
sys.stdout = open("downloader.out.log", 'w')
|
||||
sys.stderr = open("downloader.err.log", 'w')
|
||||
sys.stdout = open("gui.out.log", 'w')
|
||||
sys.stderr = open("gui.err.log", 'w')
|
||||
|
||||
locale.setlocale(locale.LC_ALL, '')
|
||||
|
||||
|
@ -30,4 +30,4 @@ def start_downloader():
|
|||
reactor.run()
|
||||
|
||||
if __name__ == "__main__":
|
||||
start_downloader()
|
||||
start_gui()
|
Before Width: | Height: | Size: 174 B After Width: | Height: | Size: 174 B |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.6 KiB |
Before Width: | Height: | Size: 361 KiB After Width: | Height: | Size: 361 KiB |
Before Width: | Height: | Size: 155 B After Width: | Height: | Size: 155 B |
18
setup.py
|
@ -18,7 +18,7 @@ setup(name='lbrynet',
|
|||
'lbrynet-launch-node = lbrynet.dht.node:main',
|
||||
'lbrynet-launch-rpc-node = lbrynet.rpc_node:main',
|
||||
'lbrynet-rpc-node-cli = lbrynet.node_rpc_cli:main',
|
||||
'lbrynet-gui = lbrynet.lbrynet_downloader_gui.downloader:start_downloader',
|
||||
'lbrynet-gui = lbrynet.lbrynet_gui.gui:start_gui',
|
||||
'lbrynet-lookup-hosts-for-hash = lbrynet.dht_scripts:get_hosts_for_hash_in_dht',
|
||||
'lbrynet-announce_hash_to_dht = lbrynet.dht_scripts:announce_hash_to_dht',
|
||||
]
|
||||
|
@ -29,15 +29,15 @@ setup(name='lbrynet',
|
|||
'lbrynet/lbrynet_console/plugins/blindrepeater.yapsy-plugin',
|
||||
]
|
||||
),
|
||||
('lbrynet/lbrynet_downloader_gui',
|
||||
('lbrynet/lbrynet_gui',
|
||||
[
|
||||
'lbrynet/lbrynet_downloader_gui/close2.gif',
|
||||
'lbrynet/lbrynet_downloader_gui/lbry-dark-242x80.gif',
|
||||
'lbrynet/lbrynet_downloader_gui/lbry-dark-icon.xbm',
|
||||
'lbrynet/lbrynet_downloader_gui/lbry-dark-icon.ico',
|
||||
'lbrynet/lbrynet_downloader_gui/drop_down.gif',
|
||||
'lbrynet/lbrynet_downloader_gui/show_options.gif',
|
||||
'lbrynet/lbrynet_downloader_gui/hide_options.gif',
|
||||
'lbrynet/lbrynet_gui/close2.gif',
|
||||
'lbrynet/lbrynet_gui/lbry-dark-242x80.gif',
|
||||
'lbrynet/lbrynet_gui/lbry-dark-icon.xbm',
|
||||
'lbrynet/lbrynet_gui/lbry-dark-icon.ico',
|
||||
'lbrynet/lbrynet_gui/drop_down.gif',
|
||||
'lbrynet/lbrynet_gui/show_options.gif',
|
||||
'lbrynet/lbrynet_gui/hide_options.gif',
|
||||
]
|
||||
)
|
||||
]
|
||||
|
|