lbry-sdk/setup.py

49 lines
2.1 KiB
Python
Raw Normal View History

2015-08-20 17:27:15 +02:00
#!/usr/bin/env python
2016-03-24 03:27:48 +01:00
from lbrynet import __version__
2015-08-20 17:27:15 +02:00
import ez_setup
2016-03-25 01:00:56 +01:00
ez_setup.use_setuptools()
2016-02-27 23:49:49 +01:00
import sys
import os
from setuptools import setup, find_packages
2016-03-22 02:33:55 +01:00
base_dir = os.path.abspath(os.path.dirname(__file__))
2016-02-27 23:49:49 +01:00
2016-07-18 02:19:00 +02:00
console_scripts = ['lbrynet-stdin-uploader = lbrynet.lbrynet_console.LBRYStdinUploader:launch_stdin_uploader',
2016-02-27 23:49:49 +01:00
'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-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',
'lbrynet-daemon = lbrynet.lbrynet_daemon.LBRYDaemonControl:start',
'stop-lbrynet-daemon = lbrynet.lbrynet_daemon.LBRYDaemonControl:stop',
'lbrynet-cli = lbrynet.lbrynet_daemon.LBRYDaemonCLI:main']
2016-02-27 23:49:49 +01:00
2016-03-24 03:27:48 +01:00
requires = ['pycrypto', 'twisted', 'miniupnpc', 'yapsy', 'seccure',
'python-bitcoinrpc==0.1', 'txJSON-RPC', 'requests>=2.4.2', 'unqlite==0.2.0',
2016-08-18 06:31:05 +02:00
'leveldb', 'lbryum', 'jsonrpc', 'simplejson', 'appdirs', 'six==1.9.0', 'base58', 'googlefinance',
'requests_futures', 'service_identity']
2016-02-27 23:49:49 +01:00
setup(name='lbrynet',
2016-07-07 04:29:12 +02:00
description='A decentralized media library and marketplace',
version=__version__,
maintainer='Alex Grintsvayg',
maintainer_email='grin@lbry.io',
2016-03-22 02:33:55 +01:00
packages=find_packages(base_dir),
2016-03-24 03:06:04 +01:00
install_requires=requires,
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',
[
2016-03-22 02:33:55 +01:00
os.path.join(base_dir, 'lbrynet', 'lbrynet_console', 'plugins',
'blindrepeater.yapsy-plugin')
2015-08-20 17:27:15 +02:00
]
),
],
dependency_links=['https://github.com/lbryio/lbryum/tarball/master/#egg=lbryum'],
)