Break the old binary file so users are forced to reinstall

Note:
This should not be relevant anymore - this binary has been deprecated
and is not being used by new installations since July 2019.
This commit is contained in:
Matthias 2020-02-10 17:27:47 +01:00
parent da03c36875
commit faf19eda86

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)