Commit Graph

23 Commits

Author SHA1 Message Date
TheRinger
49a16d1aad
change to setup.sh
If you are using a virtualenv with python3.6, then running the setup.sh script will still return python3.7 = True from executing "which python3.7" then installs python3.7 , if the script makes it to "which python3.6" it will return True also

You want to use the python version that is installed in your virtualenv, 3.6 being the case here

"which python3" will return python3 which isn't helpful either
I've added this method to get the current version of python3 being used by the environment
 python_v=$(pythonversion=$(python -V 2>&1 | grep -Po '(?<=Python )(.+)') && echo "python"$pythonversion | cut -c1-9)
changing the script in this was may eliminate some of the if then else logic but I've left it intact until can be tested further.
2019-02-14 16:19:37 -08:00
Misagh
a07353d3c7
fixes few wordings 2019-01-06 12:02:57 +01:00
Matthias
506237e3b4 Don't use --quiet on pip install
this hides errors from users and complicates debugging in case of
problmes
2019-01-05 20:06:15 +01:00
Matthias
f088f43b40 Install numpy before py_find_1st 2019-01-05 20:04:54 +01:00
Matthias
01e2dc17b5 Remove whitespace in fucntion definition 2019-01-05 20:00:10 +01:00
Matthias
337ebdeccb Avoid installing ta-lib multiple times 2019-01-05 19:51:51 +01:00
Matthias
9e5e485d0a put --upgrade flag to the same location in subsequent requests 2019-01-05 19:51:28 +01:00
Matthias
31da42a485 Show error when no python is found 2019-01-05 19:50:46 +01:00
misagh
2c31fd662c cd build_helpers added before extracting Tar 2019-01-02 19:26:58 +01:00
Pan Long
1372095c66 Seperate requirements to run the bot and to develop.
- Add a requirements-dev.txt file which includes additional deps for development.
- Add a Dockerfile.develop which installs all deps for development and also enables dev commands.
- Change related documentations on how to run/dev the bot.
2018-12-16 22:15:45 -08:00
misagh
b09a1d1abe 1) do not download ta-lib as we have it offline. 2) removing ta-lib
directory but not the file
2018-10-23 19:36:57 +02:00
misagh
fb3fd7cb15 setup script and documentation fixed for TA-Lib and MacOS 2018-10-11 19:26:19 +02:00
Matthias
d007ac4b96 check version explicitly, use "python" in venv 2018-08-15 08:37:20 +02:00
Matthias
f7afd9a5ff update setup.sh to support 3.7 2018-08-12 10:37:10 +02:00
Gerald Lonlas
f59f534c64 Setup.sh: fix Python3.6 when broken on macOS 2018-05-29 20:49:37 -07:00
Gerald Lonlas
5a4eb2cbf2 Setup.sh: make message format consistent 2018-05-29 20:48:34 -07:00
Pan Long
c7ef69f4eb Auto apply default values in setup.
Before this commit, during setup, even a default value is displayed for some config, if user doesn't enter anything, an empty value is applied.

After this commit, if user doesn't enter anything for a config with default value, the default value will be applied.
2018-05-22 22:09:52 +08:00
Pan Long
0fab7f0880 Fix a typo in setup.sh 2018-04-18 19:11:37 +08:00
Gerald Lonlas
2c16ba18a4 Fix config generation on setup.sh 2018-02-03 12:55:15 -08:00
Jordy Bulten
e6d6918ed8 Fixed typos in setup script 2018-01-31 09:46:20 +01:00
Gerald Lonlas
7321836bfb Indent functions code 2018-01-28 23:35:13 -08:00
Gerald Lonlas
96c54716d7 Add --plot parameter for installing plotting dependencies 2018-01-28 23:24:41 -08:00
Gerald Lonlas
f69adc1894 Add setup.sh script to install and update the bot 2018-01-28 23:18:15 -08:00