Installing GarlicSim on Python 2.x

Before you start

General notes

Keep in mind that the GarlicSim project is comprised of three packages: garlicsim, garlicsim_lib and garlicsim_wx. garlicsim is the core logic, garlicsim_lib is a collection of simpacks, and garlicsim_wx is a wxPython-based GUI.

You don’t have to install all of them. You may install only the first one, or only the first two, or all three, depending on which functionality you want.

Requirements

For garlicsim

And for users of Python 2.5 only:

Optional but recommended:

Installation methods

You may choose from one of these installation methods:

pip

You can use pip in the standard way to install:

  • pip install garlicsim

and/or

  • pip install garlicsim_lib

and/or

  • pip install garlicsim_wx

Installing from source

GarlicSim is pure-Python and thus doesn’t require building. These are the three source packages:

You may use the standard python setup.py install to install.

Windows binaries

Binaries for Windows are available:

For Python 2.5, Python 2.6 and Python 2.7:

To start the GUI

In order to start the GUI after you install it, run the GarlicSim.py script which is located in your Python scripts folder. On Windows it’s done like this:

c:\> c:\python26\Scripts\GarlicSim.py