= Installation = ''This applies to pycallgraph v0.5.0. To see other versions go [wiki:documentation here].'' == Requirements == You will need [http://www.graphviz.org/ Graphviz] installed and in your path. To see if it's installed and in your path, the command "dot" should work from the command line. == Installation == Python Call Graph works with Linux, Windows and Mac OS X. There are a few ways of installing it: === Windows === * [http://pycallgraph.slowchop.com/files/download/pycallgraph-0.5.0.win32.exe pycallgraph-0.5.0.win32.exe] === Setuptools === If you have [http://peak.telecommunity.com/DevCenter/setuptools setuptools] installed, simply run the following: {{{ easy_install pycallgraph }}} === From Source === * [http://pycallgraph.slowchop.com/files/download/pycallgraph-0.5.0.tar.gz pycallgraph-0.5.0.tar.gz] * [http://pycallgraph.slowchop.com/files/download/pycallgraph-0.5.0.zip pycallgraph-0.5.0.zip] Extract one of the above, hop into the directory and run: {{{ python setup.py install }}} === Debian === Jan Michael Alonzo is maintaining a Debian package at (currently version 0.3.0): * http://packages.debian.org/unstable/python/python-pycallgraph === FreeBSD === Li-Wen Hsu is maintaining a FreeBSD package on !FreshPorts: * http://www.freshports.org/devel/py-pycallgraph/ === OpenSUSE === OpenSUSE has a python-pycallgraph package: * http://download.opensuse.org/repositories/devel:/languages:/python/openSUSE_Factory/repodata/repoview/python-pycallgraph-0-0.3.0-3.20.html === Subversion === {{{ svn co svn://slowchop.com/pycallgraph/trunk/ }}} === Older Releases === * [http://pycallgraph.slowchop.com/files/download/ older releases] == Now What? == Your can see if it is installed by running it on the command line: {{{ pygc }}} You can also try to import it and check the version: {{{ python Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pycallgraph >>> pycallgraph.__version__ '0.5.0' >>> }}} There are some example uses [wiki:documentation/0.5.0 here].