Installing GAlgebra From PyPI (Recommended for users)¶
pip install galgebra
Then you are all set!
Installing GAlgebra From Source (Recommended for developers)¶
To install from the latest source code of GAlgebra:
git clone https://github.com/pygae/galgebra.git cd galgebra pip install -e .
Note that the optional
-e argument is used here for a developer install so modifying the source will take effect immediately without the need of reinstallation.
Now you may run tests to verify the installation, run from the root of the repository:
pip install pytest pytest test
Further, to run the complete test suite including the ones using nbval, just run:
pip install nbval pytest --nbval examples/ipython/ test --current-env --sanitize-with test/.nbval_sanitize.cfg
This could take more than 10 minutes, please be patient.