Merge pull request #2900 from freqtrade/rem_bin

Break the old binary file so users are forced to reinstall
This commit is contained in:
hroff-1902 2020-02-10 20:52:13 +03:00 committed by GitHub
commit df8a27fba6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,11 @@
#!/usr/bin/env python3
import sys
import warnings
import logging
from freqtrade.main import main
logger = logging.getLogger(__name__)
warnings.warn(
"Deprecated - To continue to run the bot like this, please run `pip install -e .` again.",
DeprecationWarning)
main(sys.argv[1:])
logger.error("DEPRECATED installation detected, please run `pip install -e .` again.")
sys.exit(2)