Installation¶
At this moment only Linux platform is supported.(tested on KUbuntu 16.04).
Linux¶
In this page it is explained how to compile and install from source in a Linux Platform
Requirments¶
Following packages shall be preinstalled before proceeding the installation of PyCLP
Download¶
Download source files from PyCLP sources
Compilation & Installation¶
Setup Enviromental variables for ECLiPSe:
ECLIPSEDIR enviromental variable shall be set to the folder where is located ECLiPSe system. This is required for compiling and using PyCLP.
LD_LIBRARY_PATH enviromental variable shall contains the path of folder that contains the ECLiPSe sharable library. E.g. <eclipsedir>/lib/<platform>.
Install using usual method
sudo python setup.py install
Regression test
python test.py
Tested enviroment¶
The present version of pyclp is tested on
- KUbuntu 13.04 (64bit) , Python 2.7 and 3.5
However it is expected working on other platform that fullfill the requirements.
Windows¶
Binary installation¶
Requirments¶
Following packages shall be preinstalled before proceeding the installation of PyCLP python3 setup.py register
Enviroment variables¶
Setup Enviromental variables for ECLiPSe:
ECLIPSEDIR enviromental variable shall be set to the folder where is located ECLiPSe system. This is required for compiling and using PyCLP.
PATH add in the path the folder where is stored the eclipse.dll file
Download & Install¶
Download msi installer from PyCLP sources
Installation from sources¶
Requirments¶
Following packages shall be preinstalled before proceeding the installation of PyCLP
- Python 2.x 3.x
- Cython
- ECLiPSe Constraint Programming System 6.1
- Some compiler used to compile Python interpreter. (Note: Different version of python requires different microsoft compilers)
Download¶
Download source files from PyCLP sources
Compilation & Installation¶
Setup Enviromental variables for ECLiPSe:
ECLIPSEDIR enviromental variable shall be set to the folder where is located ECLiPSe system. This is required for compiling and using PyCLP.
PATH add in the path the folder where is stored the eclipse.dll file
Install using usual method
python setup.py install
Regression test
python test.py
Tested enviroment¶
The present version of pyclp is tested on
- Windows 10 (64bit), Python 2.7, 3.3
However it is expected working on other platform that fullfill the requirements.