aboutsummaryrefslogtreecommitdiff
path: root/reproduce
diff options
context:
space:
mode:
Diffstat (limited to 'reproduce')
-rw-r--r--reproduce/software/bibtex/sympy.tex23
-rw-r--r--reproduce/software/config/installation/TARGETS.mk2
-rw-r--r--reproduce/software/make/python.mk10
3 files changed, 29 insertions, 6 deletions
diff --git a/reproduce/software/bibtex/sympy.tex b/reproduce/software/bibtex/sympy.tex
new file mode 100644
index 0000000..07aa0e7
--- /dev/null
+++ b/reproduce/software/bibtex/sympy.tex
@@ -0,0 +1,23 @@
+%% Copyright (C) 2019 Raul Infante-Sainz <infantesainz@gmail.com>
+%%
+%% Copying and distribution of this file, with or without modification,
+%% are permitted in any medium without royalty provided the copyright
+%% notice and this notice are preserved. This file is offered as-is,
+%% without any warranty.
+
+@article{sympy,
+ title = {SymPy: symbolic computing in Python},
+ author = {Meurer, Aaron and Smith, Christopher P. and Paprocki, Mateusz and \v{C}ert\'{i}k, Ond\v{r}ej and Kirpichev, Sergey B. and Rocklin, Matthew and Kumar, AMiT and Ivanov, Sergiu and Moore, Jason K. and Singh, Sartaj and Rathnayake, Thilina and Vig, Sean and Granger, Brian E. and Muller, Richard P. and Bonazzi, Francesco and Gupta, Harsh and Vats, Shivam and Johansson, Fredrik and Pedregosa, Fabian and Curry, Matthew J. and Terrel, Andy R. and Rou\v{c}ka, \v{S}t\v{e}p\'{a}n and Saboo, Ashutosh and Fernando, Isuru and Kulal, Sumith and Cimrman, Robert and Scopatz, Anthony},
+ year = 2017,
+ month = jan,
+ keywords = {Python, Computer algebra system, Symbolics},
+ abstract = {
+ SymPy is an open source computer algebra system written in pure Python. It is built with a focus on extensibility and ease of use, through both interactive and programmatic applications. These characteristics have led SymPy to become a popular symbolic library for the scientific Python ecosystem. This paper presents the architecture of SymPy, a description of its features, and a discussion of select submodules. The supplementary material provide additional examples and further outline details of the architecture and features of SymPy.
+ },
+ volume = 3,
+ pages = {103},
+ journal = {PeerJ CompSci},
+ issn = {2376-5992},
+ url = {https://doi.org/10.7717/peerj-cs.103},
+ doi = {10.7717/peerj-cs.103}
+}
diff --git a/reproduce/software/config/installation/TARGETS.mk b/reproduce/software/config/installation/TARGETS.mk
index 5aee765..f1a27a2 100644
--- a/reproduce/software/config/installation/TARGETS.mk
+++ b/reproduce/software/config/installation/TARGETS.mk
@@ -38,4 +38,4 @@
top-level-programs = gnuastro
# Python libraries/modules.
-top-level-python = astropy mpmath
+top-level-python = astropy sympy
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