[build] fix pip install issues on OSX High Sierra (#6201)

* [build] fix pip install issues on OSX High Sierra

I think requirements.txt was out-of-sync as well.

Also had to:
export
  LDFLAGS="-L/usr/local/opt/openssl/lib"
export
  CPPFLAGS="-I/usr/local/opt/openssl/include"
export
  PKG_CONFIG_PATH="/usr/local/opt/openssl/lib/pkgconfig"

* Fix click
This commit is contained in:
Maxime Beauchemin
2018-10-29 10:33:51 -07:00
committed by Beto Dealmeida
parent 5403f31007
commit 81fc3dfbee
5 changed files with 13 additions and 10 deletions

View File

@@ -36,7 +36,9 @@ WORKDIR $HOME/incubator-superset
COPY ./ ./
RUN pip install --upgrade setuptools pip
RUN pip install -e . && pip install -r requirements-dev.txt
RUN pip install -r requirements.txt
RUN pip install -r requirements-dev.txt
RUN pip install -e .
ENV PATH=/home/work/incubator-superset/superset/bin:$PATH \
PYTHONPATH=./superset/:$PYTHONPATH

View File

@@ -9,7 +9,7 @@ fabmanager create-admin --app superset
superset db upgrade
# Load some data to play with
superset load-examples
superset load_examples
# Create default roles and permissions
superset init