Skip to content

Commit

Permalink
DEV: Added cleaning of cython assets to dev Dockerfile as well
Browse files Browse the repository at this point in the history
Added same comment to vagrant init
  • Loading branch information
richafrank committed Jul 7, 2016
1 parent 95d59c1 commit 8f9bc98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,8 @@
#
FROM quantopian/zipline

RUN cd /zipline && pip install -r etc/requirements_dev.txt -r etc/requirements_blaze.txt
WORKDIR /zipline

RUN pip install -r etc/requirements_dev.txt -r etc/requirements_blaze.txt
# Clean out any cython assets. The pip install re-builds them.
RUN find . -type f -name '*.c' -exec rm {} + && pip install -e .[all]
1 change: 1 addition & 0 deletions vagrant_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ echo "Installing zipline python dependencies..." | tee -a "$VAGRANT_LOG"
echo "Installing zipline extra python dependencies..." | tee -a "$VAGRANT_LOG"
pip install -r /vagrant/etc/requirements_dev.txt -r /vagrant/etc/requirements_blaze.txt 2>&1 | tee -a "$VAGRANT_LOG"
echo "Installing zipline package itself..." | tee -a "$VAGRANT_LOG"
# Clean out any cython assets. The pip install re-builds them.
find /vagrant/ -type f -name '*.c' -exec rm {} +
pip install -e /vagrant[all] 2>&1 | tee -a "$VAGRANT_LOG"
echo "Finished! zipline repo is in '/vagrant'." | tee -a "$VAGRANT_LOG"

0 comments on commit 8f9bc98

Please sign in to comment.