diff --git a/makefiles/Makefile.python.mk b/makefiles/Makefile.python.mk index 7963da2a7b..7f2e791fba 100644 --- a/makefiles/Makefile.python.mk +++ b/makefiles/Makefile.python.mk @@ -213,7 +213,7 @@ python_examples_archive: python $(MKDIR) temp$Sortools_examples$Sexamples $(MKDIR) temp$Sortools_examples$Sdata $(COPY) examples$Spython$S*.py temp$Sortools_examples$Sexamples - $(COPY) tools$SREADME.python temp$Sortools_examples$SREADME + $(COPY) tools$SREADME.examples.python temp$Sortools_examples$SREADME.txt $(COPY) LICENSE-2.0.txt temp$Sortools_examples $(COPY) tools$Ssetup_data.py temp$Sortools_examples$Ssetup.py $(SED) -i -e 's/VVVV/$(shell svnversion)/' temp$Sortools_examples$Ssetup.py diff --git a/tools/README.examples.python b/tools/README.examples.python new file mode 100644 index 0000000000..6b3c6eb400 --- /dev/null +++ b/tools/README.examples.python @@ -0,0 +1,27 @@ +This file describes how to install the or-tools python examples archive. + +OR-Tools is located at http://code.google.com/p/or-tools + +These module will pull ortools from pypi. Or-tools is delivered under: + - ubuntu 12.04 and up (32 and 64 bit). + - Mac OS X Lion with xcode 5.x (64 bit). + - Microsoft Windows with Visual Studio 2012 and 2013 (32 and 64 bit). + +Upon decompressing the archive, you will get the following structure: + +or-tools/ + LICENSE-2.0.txt <- Apache License + README.txt <- This file + data/ <- Data for the examples. + examples/ <- Python examples + + +To install the package, please run: + sudo python setup.py install +or + python setup.py install --user + +This will pull ortools binary modules from Pypi and install them. + +Once this is done, you can run the samples in the examples/ directory. +As in python examples/hidato_puzzle.py