Source
190
190
if [ -d $(CASASRC)/casatasks/dist ]; then rm -rf $(CASASRC)/casatasks/dist; fi
191
191
mkdir -p $(CASASRC)/casatasks/dist
192
192
if [ -d $(CASASRC)/casatasks/build ]; then rm -rf $(CASASRC)/casatasks/build; fi
193
193
194
194
# Run the build in a venv
195
195
# Disable any potentially running virtual environments beforehand
196
196
-deactivate ; \
197
197
. $(CASAVENVDIR)/bin/activate ; \
198
198
pip install --upgrade setuptools ; \
199
199
pip install --upgrade wheel ; \
200
+
mkdir -p $(HOME)/.casa/data ; \
200
201
cd $(CASASRC)/casatasks ; \
201
202
./setup.py bdist_wheel ; \
202
203
pip uninstall -y casatasks ; \
203
204
pip install $(CASASRC)/casatasks/dist/casatasks*whl ; \
204
205
\cp -f $(CASASRC)/casatasks/dist/casatasks*whl $(CASAINSTALL)/dist
205
206
206
207
casashell: casatasks casashell-wheel
207
208
208
209
casashell-wheel: venv-build
209
210
if [ -d $(SRCDIR)/casashell ]; then rm -rf $(SRCDIR)/casashell; fi