Skip to content

Commit

Permalink
Add Cython (#3)
Browse files Browse the repository at this point in the history
Required by numpy, but only at build-time.
  • Loading branch information
dimaryaz authored Apr 16, 2020
1 parent 92e8b43 commit f2234ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ RUN python3 -m pip install --upgrade pip \
# but it's not in the amazonlinux image
&& python3 -m pip install boto3

# Required to build numpy, but not listed as a dependency.
RUN python3 -m pip install Cython

# Make it possible to build numpy:
# https://github.com/numpy/numpy/issues/14147
ENV CFLAGS=-std=c99

0 comments on commit f2234ba

Please sign in to comment.