scyther/gui/INSTALL.txt

89 lines
2.6 KiB
Plaintext
Raw Normal View History

2006-08-11 18:52:44 +01:00
========================================================================
2011-03-31 14:03:58 +01:00
Installation and usage of the Scyther tool
2006-08-11 18:52:44 +01:00
========================================================================
2011-03-31 14:03:58 +01:00
------------------------------------------------------------------------
2013-05-24 11:32:04 +01:00
Requirements
2011-03-31 14:03:58 +01:00
------------------------------------------------------------------------
2006-08-11 18:52:44 +01:00
2013-05-24 11:32:04 +01:00
To be able to use Scyther, you need the following three things:
2006-08-11 18:52:44 +01:00
2013-05-24 11:32:04 +01:00
1. The GraphViz library.
2006-08-11 18:52:44 +01:00
This library is used by the Scyther tool to draw graphs. It can be
freely downloaded from:
http://www.graphviz.org/
Download the latest stable release and install it.
2013-05-24 11:32:04 +01:00
The graphical user interface of Scyther is written in the Python
language. Therefore, the GUI requires the following two items:
2. Python
Stable releases of the Python interpreter are available from:
http://www.python.org/download/
Scyther does not support Python 3. You are therefore recommended to
choose the latest production release of Python 2, e.g., Python 2.7.
Mac OS X:
If the package yields an error when you try to install it,
please use the following, in the directory where you downloaded
it:
$ sudo installer -pkg graphviz-2.34.0.pkg -target /
2013-05-24 11:32:04 +01:00
3. wxPython libraries.
The GUI user interface uses the wxPython libraries.
2006-08-11 18:52:44 +01:00
2013-05-24 11:32:04 +01:00
http://www.wxpython.org/download.php
2006-08-11 18:52:44 +01:00
2013-05-24 11:32:04 +01:00
There are many different wxPython packages. You should choose a 32-bit
package that matches your Python version (e.g., 2.7). It is
recommended to select the unicode version from the stable releases.
2011-03-31 14:03:58 +01:00
2013-05-24 11:32:04 +01:00
As of writing (May 2013) the following links lead to the appropriate
wxPython packages for Python 2.7:
2011-03-31 14:03:58 +01:00
2013-05-24 11:32:04 +01:00
Windows:
http://downloads.sourceforge.net/wxpython/wxPython2.8-win32-unicode-2.8.12.1-py27.exe
2011-03-31 14:03:58 +01:00
2013-05-24 11:32:04 +01:00
Mac OS X:
http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.12.1-universal-py2.7.dmg
2011-03-31 14:03:58 +01:00
Note that this package is in an old format and you will probably
get a warning "Package is damaged". This can be resolved by:
$ sudo installer -pkg /Volume/.../wxPython2.8-osx-unicode-universal-py2.7.pkg/ -target /
2013-05-24 11:32:04 +01:00
Ubuntu/Debian Linux:
http://wiki.wxpython.org/InstallingOnUbuntuOrDebian
2011-03-31 14:03:58 +01:00
------------------------------------------------------------------------
2013-05-24 11:32:04 +01:00
Running Scyther
2011-03-31 14:03:58 +01:00
------------------------------------------------------------------------
2006-08-11 18:52:44 +01:00
2013-05-24 11:32:04 +01:00
Start Scyther by executing the file
2006-08-11 18:52:44 +01:00
scyther-gui.py
2013-05-24 11:32:04 +01:00
in the directory where you found this file.
2006-08-11 18:52:44 +01:00
Mac OS X:
Right-click the file 'scyther-gui.py' and select "Open with" and
then "Python Launcher".
2006-08-11 18:52:44 +01:00