Installing graph-tool using pip
Hi, I don't see a way to install graph-tool using pip. Port on Mac OS X is not updated as frequently as pip. I'd recommend adding a way to install graph-tool using pip. Right now, I see the following error. /tmp$ pip install graph-tool Downloading/unpacking graph-tool Downloading graph-tool-2.2.15.tar.bz2 (520Kb): 520Kb downloaded Running setup.py egg_info for package graph-tool Traceback (most recent call last): File "<string>", line 14, in <module> IOError: [Errno 2] No such file or directory: '/private/tmp/build/graph-tool/setup.py' Complete output from command python setup.py egg_info: Traceback (most recent call last): File "<string>", line 14, in <module> IOError: [Errno 2] No such file or directory: '/private/tmp/build/graph-tool/setup.py' ---------------------------------------- Command python setup.py egg_info failed with error code 1 -- Regards, Peng
On 05/04/2012 06:04 PM, Peng Yu wrote:
Hi,
I don't see a way to install graph-tool using pip. Port on Mac OS X is not updated as frequently as pip. I'd recommend adding a way to install graph-tool using pip. Right now, I see the following error.
Neither pip nor easy_install are supported. Huge portions of graph-tool are implemented in C++ and thus require compilation. Although it is possible to use python's setuptools to compile packages in C/C++ as well (numpy and scipy do this), I find that autotools provides a much more comfortable and reliable approach, which is more likely to work in different environments. I feel that porting things to setuptools would be quite a pain. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
On Fri, May 4, 2012 at 11:23 AM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 05/04/2012 06:04 PM, Peng Yu wrote:
Hi,
I don't see a way to install graph-tool using pip. Port on Mac OS X is not updated as frequently as pip. I'd recommend adding a way to install graph-tool using pip. Right now, I see the following error.
Neither pip nor easy_install are supported. Huge portions of graph-tool are implemented in C++ and thus require compilation. Although it is possible to use python's setuptools to compile packages in C/C++ as well (numpy and scipy do this), I find that autotools provides a much more comfortable and reliable approach, which is more likely to work in different environments. I feel that porting things to setuptools would be quite a pain.
For Mac, is it possible to make a dmg for installation? (I don't have any experience on making a dmg package). But this could help potential users who want avoid compiling the package themselves (the requirement on gcc 4.4 can be a deal breaker). -- Regards, Peng
On Fri 04 May 2012 06:36:14 PM CEST, Peng Yu wrote:
On Fri, May 4, 2012 at 11:23 AM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 05/04/2012 06:04 PM, Peng Yu wrote:
Hi,
I don't see a way to install graph-tool using pip. Port on Mac OS X is not updated as frequently as pip. I'd recommend adding a way to install graph-tool using pip. Right now, I see the following error.
Neither pip nor easy_install are supported. Huge portions of graph-tool are implemented in C++ and thus require compilation. Although it is possible to use python's setuptools to compile packages in C/C++ as well (numpy and scipy do this), I find that autotools provides a much more comfortable and reliable approach, which is more likely to work in different environments. I feel that porting things to setuptools would be quite a pain.
For Mac, is it possible to make a dmg for installation? (I don't have any experience on making a dmg package). But this could help potential users who want avoid compiling the package themselves (the requirement on gcc 4.4 can be a deal breaker).
It should be possible to make binaries with macports: http://guide.macports.org/chunked/using.binaries.html I'll investigate this possibility for future releases. As for gcc 4.4, I don't see what is the big deal, since it corresponds to the default apple compiler, AFAIK. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
On Fri, May 4, 2012 at 12:43 PM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On Fri 04 May 2012 06:36:14 PM CEST, Peng Yu wrote:
On Fri, May 4, 2012 at 11:23 AM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 05/04/2012 06:04 PM, Peng Yu wrote:
Hi,
I don't see a way to install graph-tool using pip. Port on Mac OS X is not updated as frequently as pip. I'd recommend adding a way to install graph-tool using pip. Right now, I see the following error.
Neither pip nor easy_install are supported. Huge portions of graph-tool are implemented in C++ and thus require compilation. Although it is possible to use python's setuptools to compile packages in C/C++ as well (numpy and scipy do this), I find that autotools provides a much more comfortable and reliable approach, which is more likely to work in different environments. I feel that porting things to setuptools would be quite a pain.
For Mac, is it possible to make a dmg for installation? (I don't have any experience on making a dmg package). But this could help potential users who want avoid compiling the package themselves (the requirement on gcc 4.4 can be a deal breaker).
It should be possible to make binaries with macports:
http://guide.macports.org/chunked/using.binaries.html
I'll investigate this possibility for future releases.
As for gcc 4.4, I don't see what is the big deal, since it corresponds to the default apple compiler, AFAIK.
It depends. For my machine, it is not true. -- Regards, Peng
On 05/04/2012 08:07 PM, Peng Yu wrote:
As for gcc 4.4, I don't see what is the big deal, since it corresponds to the default apple compiler, AFAIK.
It depends. For my machine, it is not true.
Which MacOS version do you have? In any case, apple's GCC 4.4 is available in macports. Cheers, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>
On Fri, May 4, 2012 at 1:11 PM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 05/04/2012 08:07 PM, Peng Yu wrote:
As for gcc 4.4, I don't see what is the big deal, since it corresponds to the default apple compiler, AFAIK.
It depends. For my machine, it is not true.
Which MacOS version do you have? 10.6.8
In any case, apple's GCC 4.4 is available in macports.
The GCC from macports is different from the native GCC (I remember something like --arch is not available from the one in macports). It is just a hassle to use macports GCC. -- Regards, Peng
For Mac, is it possible to make a dmg for installation? (I don't have any experience on making a dmg package). But this could help potential users who want avoid compiling the package themselves (the requirement on gcc 4.4 can be a deal breaker).
It should be possible to make binaries with macports:
Hi Tiago, Have you got a chance to create a dmg package? Thanks! -- Regards, Peng
participants (2)
-
Peng Yu -
Tiago de Paula Peixoto