Rename requirements-pi to requirements.common

This commit is contained in:
Matthias 2019-04-26 19:57:09 +02:00
parent 99b08fbd13
commit dc12cacd50
6 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@ requirements:
- requirements.txt - requirements.txt
- requirements-dev.txt - requirements-dev.txt
- requirements-plot.txt - requirements-plot.txt
- requirements-pi.txt - requirements-common.txt
# configure the branch prefix the bot is using # configure the branch prefix the bot is using

View File

@ -16,7 +16,7 @@ RUN cd /tmp && /tmp/install_ta-lib.sh && rm -r /tmp/*ta-lib*
ENV LD_LIBRARY_PATH /usr/local/lib ENV LD_LIBRARY_PATH /usr/local/lib
# Install dependencies # Install dependencies
COPY requirements.txt requirements-pi.txt /freqtrade/ COPY requirements.txt requirements-common.txt /freqtrade/
RUN pip install numpy --no-cache-dir \ RUN pip install numpy --no-cache-dir \
&& pip install -r requirements.txt --no-cache-dir && pip install -r requirements.txt --no-cache-dir

View File

@ -27,9 +27,9 @@ RUN wget https://github.com/jjhelmus/berryconda/releases/download/v2.0.0/Berryco
&& rm Berryconda3-2.0.0-Linux-armv7l.sh && rm Berryconda3-2.0.0-Linux-armv7l.sh
# Install dependencies # Install dependencies
COPY requirements-pi.txt /freqtrade/ COPY requirements-common.txt /freqtrade/
RUN ~/berryconda3/bin/conda install -y numpy pandas scipy \ RUN ~/berryconda3/bin/conda install -y numpy pandas scipy \
&& ~/berryconda3/bin/pip install -r requirements-pi.txt --no-cache-dir && ~/berryconda3/bin/pip install -r requirements-common.txt --no-cache-dir
# Install and execute # Install and execute
COPY . /freqtrade/ COPY . /freqtrade/

View File

@ -326,7 +326,7 @@ conda activate freqtrade
conda install scipy pandas numpy conda install scipy pandas numpy
sudo apt install libffi-dev sudo apt install libffi-dev
python3 -m pip install -r requirements-pi.txt python3 -m pip install -r requirements-common.txt
python3 -m pip install -e . python3 -m pip install -e .
``` ```

View File

@ -1,5 +1,5 @@
# Load common requirements # Load common requirements
-r requirements-pi.txt -r requirements-common.txt
numpy==1.16.3 numpy==1.16.3
pandas==0.24.2 pandas==0.24.2