residual fixes after lbrynet -> lbry move

This commit is contained in:
Lex Berezhny 2019-06-20 21:18:03 -04:00
parent f5e38f6e23
commit fe7224e537
7 changed files with 10 additions and 10 deletions

View file

@ -3,6 +3,6 @@ install:
cd lbry && pip install -e .
lint:
cd lbry && pylint lbrynet
cd lbry && pylint lbry
cd torba && pylint --rcfile=setup.cfg torba
cd torba && mypy --ignore-missing-imports torba

View file

@ -2,6 +2,6 @@
.tox
__pycache__
dist
lbrynet.egg-info
lbry.egg-info
docs
tests

2
lbry/.gitignore vendored
View file

@ -6,7 +6,7 @@
/.coverage
/lbry-venv
lbrynet.egg-info
lbry.egg-info
__pycache__
_trial_temp/

View file

@ -12,12 +12,12 @@ from docopt import docopt
import aiohttp
from aiohttp.web import GracefulExit
from lbry import __name__ as lbrynet_name, __version__ as lbrynet_version
from lbry import __version__ as lbrynet_version
from lbry.extras.daemon.loggly_handler import get_loggly_handler
from lbry.conf import Config, CLIConfig
from lbry.extras.daemon.Daemon import Daemon
log = logging.getLogger(lbrynet_name)
log = logging.getLogger('lbry')
log.addHandler(logging.NullHandler())
@ -231,7 +231,7 @@ def main(argv=None):
ensure_directory_exists(directory)
if args.cli_version:
print(f"{lbrynet_name} {lbrynet_version}")
print(f"lbrynet {lbrynet_version}")
return 0
elif args.command == 'start':

View file

@ -28,7 +28,7 @@ EXPOSE 5280
EXPOSE 50002
# blockchain
EXPOSE 9246
ENV TORBA_LEDGER lbrynet.wallet
ENV TORBA_LEDGER lbry.wallet
RUN /usr/local/bin/orchstr8 download
ENTRYPOINT ["/usr/local/bin/orchstr8"]

View file

@ -18,5 +18,5 @@ cd lbry
pip install -e .
pip install pywin32
pyinstaller --additional-hooks-dir=scripts/. --icon=icons/lbry256.ico -F -n lbrynet lbrynet/extras/cli.py
pyinstaller --additional-hooks-dir=scripts/. --icon=icons/lbry256.ico -F -n lbrynet lbry/extras/cli.py
wine dist/lbrynet.exe --version

View file

@ -10,7 +10,7 @@ extras = test
changedir = {toxinidir}/tests
setenv =
HOME=/tmp
TORBA_LEDGER=lbrynet.wallet
TORBA_LEDGER=lbry.wallet
commands =
orchstr8 download
coverage run -p --source={envsitepackagesdir}/lbrynet -m unittest discover -vv integration
coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration