igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[igraph] distributing a python library that uses igraph 0.6 as dependenc


From: Giovanni Marco Dall'Olio
Subject: [igraph] distributing a python library that uses igraph 0.6 as dependency
Date: Thu, 31 Oct 2013 17:03:03 +0100

Hello,
I wrote a suite of python scripts based on the igraph 0.6 library, to develop an application of network theory to population genetics. Now that the suite is complete, I would like to build a python setup package to distribute it.

The main problem is that one of the requirements of my suite is igraph 0.6, which is based on the igraph 0.6 C library. This C library must be installed manually, and I don't know how to define the dependency in the setup.py script.

With the previous 0.5.4 version, the C code was included in the igraph .egg package, so it was possible to install everything automatically by just executing an easy_install igraph. It was enough to define igraph as a depedency, and the installer automatically compiled the C code and made everything working without too many trouble (providing that some other C libraries were included).

However, in the newer 0.6 version, the C library is not included anymore in the igraph package on PyPI. What is the recommended procedure to distribute a python package based on igraph 0.6? How should I define the dependency?

Thank you very much,
Giovanni


--
Giovanni Dall'Olio, phd student
IBE, Institut de Biologia Evolutiva, CEXS-UPF (Barcelona, Spain)

My blog on bioinformatics: http://bioinfoblog.it

reply via email to

[Prev in Thread] Current Thread [Next in Thread]