|
|
... |
|
|
\ No newline at end of file |
|
|
# Compilation
|
|
|
|
|
|
Graph-tool was tested extensively only on
|
|
|
[GNU/Linux](http://www.gnu.org) and MacOS X systems, but should also be
|
|
|
usable on other systems where the below requirements are met.
|
|
|
|
|
|
- [x] A C++14 compiler ([GCC]() version 5 or above, or [clang](http://clang.llvm.org/) version 3.4 or above).
|
|
|
- [x] The [Boost](http://www.boost.org/) libraries, version 1.54 or above.
|
|
|
- [x] [Python](http://www.python.org/) version 2.7, 3 or above.
|
|
|
- [x] The [expat](http://expat.sourceforge.net/) XML library.
|
|
|
- [x] The [SciPy](http://www.scipy.org/) python module.
|
|
|
- [x] The [Numpy](http://numpy.scipy.org/) python module, version 1.7 or above.
|
|
|
- [x] The [CGAL](http://www.cgal.org/) C++ geometry library, version 3.5 or above.
|
|
|
- [ ] The [sparsehash](http://code.google.com/p/sparsehash/) template library (optional, but recommended).
|
|
|
- [ ] The [GTK+ 3](http://www.gtk.org/), [cairomm](http://cairographics.org/cairomm), [pycairo](http://cairographics.org/pycairo/) and [matplotlib](http://matplotlib.sourceforge.net/) libraries, used for graph drawing (optional).
|
|
|
- [ ] The [Graphviz](http://www.graphviz.org/) packaged for graph drawing, with the python bindings enabled (optional, deprecated).
|
|
|
|
|
|
Having installed the above dependencies, the module can be compiled in the usual way:
|
|
|
|
|
|
```bash
|
|
|
$ ./configure
|
|
|
$ make
|
|
|
```
|
|
|
|
|
|
After compilation, the module can be installed in the default Python module directory by running:
|
|
|
``` bash
|
|
|
$ make install
|
|
|
``` |
|
|
\ No newline at end of file |