aboutsummaryrefslogtreecommitdiff
path: root/reproduce/software/make
diff options
context:
space:
mode:
authorRaul Infante-Sainz <infantesainz@gmail.com>2019-04-23 20:47:27 +0100
committerRaul Infante-Sainz <infantesainz@gmail.com>2019-04-23 20:47:27 +0100
commit873257380912b88e9f5089bcbe6ec12e5ecef795 (patch)
tree49331a1a8ee5e6b52435afef9ccad165c4af22a4 /reproduce/software/make
parent6cffffeadbd2acb408525a7cc65bfd744ef0d5bf (diff)
Python package SymPy added into the template
With this commit, we add `sympy' Python package into the template. This is a package to do symbolic mathematics. The motivation is that it is a prerequisite of `sip_tpv' Python package, which is useful to convert SIP distorsion coefficients into PV coefficients (in the context of astronomical images). However, the availability of `sympy' in the template will be useful for anyone interested in this package.
Diffstat (limited to 'reproduce/software/make')
-rw-r--r--reproduce/software/make/python.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/reproduce/software/make/python.mk b/reproduce/software/make/python.mk
index bdf5fe5..7a818cd 100644
--- a/reproduce/software/make/python.mk
+++ b/reproduce/software/make/python.mk
@@ -504,12 +504,12 @@ $(ipydir)/soupsieve: $(tdir)/soupsieve-$(soupsieve-version).tar.gz \
$(call pybuild, tar xf, $<, soupsieve-$(soupsieve-version), ,\
SoupSieve $(soupsieve-version))
-$(ipydir)/sympy: $(tdir)/sympy-$(sympy-version).tar.gz \
- $(ipydir)/mpmath \
+$(ipydir)/sympy: $(tdir)/sympy-$(sympy-version).tar.gz \
+ $(ipydir)/mpmath \
$(ipydir)/setuptools
- exit 1
- $(call pybuild, tar xf, $<, sympy-$(sympy-version), ,\
- SymPy $(sympy-version))
+ $(call pybuild, tar xf, $<, sympy-$(sympy-version), ,) \
+ && cp $(dtexdir)/sympy.tex $(ictdir)/ \
+ && echo "SymPy $(sympy-version) \citep{sympy}" > $@
$(ipydir)/urllib3: $(tdir)/urllib3-$(urllib3-version).tar.gz \
$(ipydir)/setuptools