I know Christof Gohlke <cjgohlke at gmail.com> provides very kindly precompiled windows binaries for lots of scientific python packages. Maybe you (Tiago) could ask him to add graph-tool to the bundle?

Also I think your library is popular enough that you might discuss with people from Anaconda? (I think they provide precompiled wheels or such)



Le 18/02/2015 23:59, Tiago de Paula Peixoto a écrit :
On 18.02.2015 16:42, maksimt wrote:
Is there any chance you could create a tutorial of how you made the python
interface to C++ code?
Yes, this is planned. I just need to find the time to write it down.

Also as far as I can tell this is the best graph library out there,
but it's relatively hard to install. As a result people like me are
using inferior libraries for algorithms and visualization. Do you
think you could work on making your library easier to install, or at
least providing more instructions? I work with both Windows and Mac OS
X, and I wasn't able to install your library on either.
graph-tool is harder to install than other libraries such as networkx
mainly because it is implemented in C++ and has C++ dependencies, such
as Boost.

Pure python code is easy to install everywhere. C++ libraries are easy
to install on systems which have built-in package management, such as
most GNU/Linux distros, but are complicated on windows and Mac OS. Mac
OS has third-party package management like macports and homebrew, which
makes things easier; however installing either system already requires
some effort. As is stated in the website, macports is the recommended
way to install the library on Mac OS, since it is the easiest.

On Mac OS and windows I simply see no way of making the installation
just as easy as typing "pip install graph-tool" because there is no way
to avoid installing Boost, CGAL, etc. The only alternative I see is to
provide pre-compiled binaries, but this is difficult since I don't even
have Mac OS or Windows installed anywhere.


Tiago de Paula Peixoto <tiago@skewed.de>

graph-tool mailing list