Skip to content

Commit 3815f81

Browse files
committed
Add instructions on how to build via conda
1 parent 8bfe949 commit 3815f81

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

README.rst

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,10 @@ From source with pip
4242

4343
Requirements:
4444

45-
- PARI/GP >= 2.9.4 (header files and library); see
45+
PARI/GP >= 2.9.4 (header files and library); see
4646
https://doc.sagemath.org/html/en/reference/spkg/pari#spkg-pari
4747
for availability in distributions (GNU/Linux, conda-forge, Homebrew, FreeBSD),
4848
or install from source.
49-
- Python >= 3.9
50-
- pip
51-
- `cysignals <https://pypi.python.org/pypi/cysignals/>`_ >= 1.11.3
52-
- Cython >= 3.0
5349

5450
Install cypari2 via the Python Package Index (PyPI) via
5551

@@ -139,10 +135,22 @@ same computations be done via
139135
The complete documentation of cypari2 is available at http://cypari2.readthedocs.io and
140136
the PARI/GP documentation at http://pari.math.u-bordeaux.fr/doc.html
141137

142-
Contributing
143-
------------
138+
Contributing & Development
139+
--------------------------
144140

145141
CyPari 2 is maintained by the SageMath community.
146142

147143
Open issues or submit pull requests at https://github.com/sagemath/cypari2
148144
and join https://groups.google.com/group/sage-devel to discuss.
145+
146+
To get started with development, you can set up an environment using Conda
147+
as follows:
148+
149+
::
150+
$ conda create -n cypari2-dev python cython pari=*=*_pthread ninja meson-python cysignals c-compiler
151+
$ conda activate cypari2-dev
152+
153+
Afterwards, you can build and install the package in editable mode:
154+
155+
::
156+
$ pip install -e . --no-build-isolation

0 commit comments

Comments
 (0)