mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-20 12:20:29 +08:00
DEV: Added cleaning of cython assets to dev Dockerfile as well
Added same comment to vagrant init
This commit is contained in:
+5
-1
@@ -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]
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user