Download the .zip or .tar file from http://www.pydcg.org . From the PyDCG folder there are two options:
Using distutils.
python setup.py install
To specify an install directory, use the –prefix option:
python setup.py install –prefix=/path/to/installation/folder
To uninstall, simply delete the folders PyDCG-0.0.1 crated in the instalation directory. During the installation you will be asked whether you want to
‘Download point sets? (~600 Mb) Y/N ‘ This refers order type database. This is a database of point set realizations of all diferent order types up to 10 points. It is advisable you say “yes”.
Using pip.
pip install PyDCG-0.0.1.zip
To uninstall, run
pip uninstall PyDCG
NOTE: There is currently a bug when installing with pip, the instalator doesn’t show the question ‘Download point sets? (~600 Mb) Y/N ‘ but it does wait for the answer. Just type Y or N to continue the installation.
A C++ compiler with C++11 support (e.g. GCC 4.7) is required since the package includes extensions written in the new standard.