Python Bindings to the Lean Theorem Prover http://leanprover.github.io/
Write config.sh
with your system specifics and run
source config.sh
An example is given in config.sh.ex
.
We assume the repo has been cloned with
git clone --recursive https://github.com/dselsam/lean-python-bindings
and that cmake and a C++ compiler is installed.
FIXME: We also assume that the Lean Theorem Prover is installed to /usr/local/<...>.
-
Activate a virtualenv (optional).
-
Install the requirements.
pip install -r requirements.txt
- Install the package.
install system wide:
python setup.py install
install for development:
python setup.py develop
- Run the tests.
nosetests test