install numpy before ta-lib to fix build errors

This commit is contained in:
Matthias 2018-07-29 14:01:50 +02:00
parent 42024134ec
commit ebfcc0fc13
3 changed files with 13 additions and 6 deletions

View File

@ -15,7 +15,8 @@ WORKDIR /freqtrade
# Install dependencies # Install dependencies
COPY requirements.txt /freqtrade/ COPY requirements.txt /freqtrade/
RUN pip install -r requirements.txt RUN pip install numpy \
&& pip install -r requirements.txt
# Install and execute # Install and execute
COPY . /freqtrade/ COPY . /freqtrade/

View File

@ -56,23 +56,29 @@ Reset parameter will hard reset your branch (only if you are on `master` or `dev
Config parameter is a `config.json` configurator. This script will ask you questions to setup your bot and create your `config.json`. Config parameter is a `config.json` configurator. This script will ask you questions to setup your bot and create your `config.json`.
## Manual installation - Linux/MacOS ## Manual installation - Linux/MacOS
The following steps are made for Linux/MacOS environment The following steps are made for Linux/MacOS environment
**1. Clone the repo** ### 1. Clone the repo
```bash ```bash
git clone git@github.com:freqtrade/freqtrade.git git clone git@github.com:freqtrade/freqtrade.git
git checkout develop git checkout develop
cd freqtrade cd freqtrade
``` ```
**2. Create the config file**
### 2. Create the config file
Switch `"dry_run": true,` Switch `"dry_run": true,`
```bash ```bash
cp config.json.example config.json cp config.json.example config.json
vi config.json vi config.json
``` ```
**3. Build your docker image and run it**
### 3. Build your docker image and run it
```bash ```bash
docker build -t freqtrade . docker build -t freqtrade .
docker run --rm -v /etc/localtime:/etc/localtime:ro -v `pwd`/config.json:/freqtrade/config.json -it freqtrade docker run --rm -v /etc/localtime:/etc/localtime:ro -v `pwd`/config.json:/freqtrade/config.json -it freqtrade

View File

@ -18,7 +18,7 @@ setup(name='freqtrade',
license='GPLv3', license='GPLv3',
packages=['freqtrade'], packages=['freqtrade'],
scripts=['bin/freqtrade'], scripts=['bin/freqtrade'],
setup_requires=['pytest-runner'], setup_requires=['pytest-runner', 'numpy'],
tests_require=['pytest', 'pytest-mock', 'pytest-cov'], tests_require=['pytest', 'pytest-mock', 'pytest-cov'],
install_requires=[ install_requires=[
'ccxt', 'ccxt',