2015-08-20 17:27:15 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
|
|
|
|
import ez_setup
|
2016-02-27 23:49:49 +01:00
|
|
|
import sys
|
2016-03-14 17:30:22 +01:00
|
|
|
import os
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
|
|
ez_setup.use_setuptools()
|
2016-02-27 23:49:49 +01:00
|
|
|
|
|
|
|
console_scripts = ['lbrynet-console = lbrynet.lbrynet_console.LBRYConsole:launch_lbry_console',
|
|
|
|
'lbrynet-stdin-uploader = lbrynet.lbrynet_console.LBRYStdinUploader:launch_stdin_uploader',
|
|
|
|
'lbrynet-stdout-downloader = lbrynet.lbrynet_console.LBRYStdoutDownloader:launch_stdout_downloader',
|
|
|
|
'lbrynet-create-network = lbrynet.create_network:main',
|
|
|
|
'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_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',
|
2016-03-14 17:30:22 +01:00
|
|
|
'lbrynet-daemon = lbrynet.lbrynet_daemon.LBRYDaemonControl:start',
|
|
|
|
'stop-lbrynet-daemon = lbrynet.lbrynet_daemon.LBRYDaemonControl:stop']
|
2016-02-27 23:49:49 +01:00
|
|
|
|
|
|
|
if sys.platform == 'darwin':
|
|
|
|
console_scripts.append('lbrynet-daemon-status = lbrynet.lbrynet_daemon.LBRYOSXStatusBar:main')
|
|
|
|
|
2015-08-20 17:27:15 +02:00
|
|
|
|
|
|
|
setup(name='lbrynet',
|
|
|
|
version='0.0.4',
|
|
|
|
packages=find_packages(),
|
2016-03-14 17:30:22 +01:00
|
|
|
install_requires=['six>=1.9.0', 'pycrypto', 'twisted', 'miniupnpc', 'yapsy', 'seccure',
|
|
|
|
'python-bitcoinrpc==0.1', 'txJSON-RPC', 'requests>=2.4.2', 'unqlite==0.2.0',
|
|
|
|
'leveldb', 'lbryum'],
|
2016-02-27 23:49:49 +01:00
|
|
|
entry_points={'console_scripts': console_scripts},
|
2015-08-20 17:27:15 +02:00
|
|
|
data_files=[
|
|
|
|
('lbrynet/lbrynet_console/plugins',
|
|
|
|
[
|
|
|
|
'lbrynet/lbrynet_console/plugins/blindrepeater.yapsy-plugin',
|
|
|
|
]
|
|
|
|
),
|
2015-09-18 06:09:53 +02:00
|
|
|
('lbrynet/lbrynet_gui',
|
2015-08-20 17:27:15 +02:00
|
|
|
[
|
2015-09-18 06:09:53 +02:00
|
|
|
'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',
|
2015-10-02 22:38:57 +02:00
|
|
|
'lbrynet/lbrynet_gui/lbry.conf',
|
2015-08-20 17:27:15 +02:00
|
|
|
]
|
|
|
|
)
|
2016-02-19 06:44:08 +01:00
|
|
|
],
|
|
|
|
dependency_links=['https://github.com/lbryio/lbryum/tarball/master/#egg=lbryum'],
|
2016-03-14 17:30:22 +01:00
|
|
|
)
|