From 64f519d1b54487fcfc39a0f7c8b4437e660ff6f0 Mon Sep 17 00:00:00 2001 From: Raul Infante-Sainz Date: Wed, 13 Feb 2019 15:13:28 +0000 Subject: Astropy installed in the pipeline Astropy was added and one very important thing is that we have to use the pypi tarball (https://pypi.org/) (which is bootstrapped) and not the github tarball. --- reproduce/src/make/dependencies-build-rules.mk | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'reproduce/src/make/dependencies-build-rules.mk') diff --git a/reproduce/src/make/dependencies-build-rules.mk b/reproduce/src/make/dependencies-build-rules.mk index 0c7262e..2247518 100644 --- a/reproduce/src/make/dependencies-build-rules.mk +++ b/reproduce/src/make/dependencies-build-rules.mk @@ -103,6 +103,22 @@ gbuild = if [ x$(static_build) = xyes ] && [ "x$(3)" = xstatic ]; then \ +# Python +# ------ +# +# To build Python packages with direct access to a `setup.py' (if no direct +# access to `setup.py' is needed, pip can be used) +pybuild = cd $(ddir); rm -rf $(2); \ + if ! tar xf $(1); then echo; echo "Tar error"; exit 1; fi; \ + cd $(2); \ + python3 setup.py build && \ + python3 setup.py install && \ + cd .. && rm -rf $(2) + + + + + # CMake # ----- # -- cgit v1.2.1