Installation¶
Conda (Best way to install)¶
conda Builds for osx-64,linux-64,linux-32,win-64,win-32 for Python 2.7, Python 3.4, and Python 3.5 are all available.
conda install -c BenEnsta pyibex
Using pip¶
Best way to get pyibex is to install it using
pip install pyibex
On linux system, the pip version must be greater than 9.0 in order to support pre-compiled binaries (.whl)
Build from sources¶
Dependancies¶
Linux/Mac OSX¶
To build pyIbex from source with python 3.4 run the following commands:
git clone https://github.com/benEnsta/pyIbex.git
cd pyIbex
install.sh --python=3.4
You can change the install directory with --prefix=${PREFIX}
option.
and add /home/${PREFIX}/lib/python3/dist-packages
to PYTHONPATH
For Windows Users (Win64 version)¶
- Build Ibex Open the developer command prompt and compile ibex-lib
git clone https://github.com/benEnsta/ibex-lib.git
cd ibex-lib
git checkout with_cmake
mkdir build
cd build
cmake -G "Visual Studio 12 2013 Win64" -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF ../
msbuild /P:Configuration=Release /p:RuntimeLibrary=MT_StaticRelease PACKAGE.vcxproj
The last command generates a installer for ibex-lib
- build pyIbex with pyzo2015a
cd pyIbex
mkdir build
cd build
cmake -G "Visual Studio 12 2013 Win64" -DBOOST_ROOT=$$$$$$$$ -DIBEX_ROOT=$$$$$$$$ -DPYTHON_EXECUTABLE=$$$$$$$$ ../
msbuild /P:Configuration=Release /p:RuntimeLibrary=MT_StaticRelease INSTALL.vcxproj