Skip to content

Commit eb06d86

Browse files
committed
README.rst: Document passagemath install method
1 parent 9a63206 commit eb06d86

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

README.rst

+30
Original file line numberDiff line numberDiff line change
@@ -175,3 +175,33 @@ D. Run in a standalone installation of the SageMath distribution (no conda)
175175
import cutgeneratingfunctionology.igp as igp; from cutgeneratingfunctionology.igp import *
176176

177177
- Follow the instructions and examples in https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.rst or https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.ipynb .
178+
179+
180+
E. Run in Python (no installation of SageMath required)
181+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
182+
183+
This method uses the modularized distributions from https://github.com/passagemath
184+
185+
- Clone the GitHub repository https://github.com/mkoeppe/cutgeneratingfunctionology.git::
186+
187+
git clone https://github.com/mkoeppe/cutgeneratingfunctionology.git
188+
cd cutgeneratingfunctionology
189+
190+
- (Optional:) Create a virtual environment
191+
192+
python3 -m venv venv-cgf
193+
. venv-cgf/bin/activate
194+
195+
- Install the cutgeneratingfunctionology package using pip::
196+
197+
pip install ".[passagemath]"
198+
199+
- Start Python::
200+
201+
python3
202+
203+
- At the Python prompt, type::
204+
205+
import cutgeneratingfunctionology.igp as igp; from cutgeneratingfunctionology.igp import *
206+
207+
- Follow the instructions and examples in https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.rst or https://github.com/mkoeppe/cutgeneratingfunctionology/blob/master/demo.ipynb .

0 commit comments

Comments
 (0)