Downloading and installing the code¶
The post-selection inference source code is hosted at
http://github.com/selective-inference/Python-software
Selection depends on the following Python tools
The package can be installed via pip
pip install selectinf
Development¶
You can clone the selection repo using:
git clone https://github.com/selective-inference/Python-software.git
Then installation is a simple call to python:
cd selectinf
git submodule update --init
pip install -r requirements.txt
python setup.py install --prefix=MYDIR
where MYDIR is a site-packages directory you can write to. This directory will need to be on your PYTHONPATH for you to import selectinf. That’s it!
Testing your installation¶
There is a small but growing suite of tests that be easily checked using nose:
mkdir tmp
cd tmp
nosetests -v selectinf
Building documentation¶
cd doc make html
To upload a fresh build of the documentation to your gh-pages
branch, use make github
.