Installing Hooke
****************
+Packages
+========
+
+Gentoo
+------
+
+I've packaged Hooke's `wtk` branch for Gentoo. You need layman_ and
+my `wtk overlay`_. With the `doc` flag enabled, you will also need
+the `science overlay`_ (for `dev-python/numpydoc`). Set up all of
+that with::
+
+ # emerge -av app-portage/layman
+ # layman --add science
+ # layman --add wtk
+ # emerge -av sci-physics/hooke
+
+.. _layman: http://layman.sourceforge.net/
+.. _wtk overlay: http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/Gentoo_overlay/
+.. _science overlay: http://overlays.gentoo.org/proj/science/wiki/en
+
+
Dependencies
============
* PyYAML_ (for saving and loading playlists)
* Matplotlib_ (for generating plots)
* wxPython_ (for the GUI)
+* FFT_tools_ (for the :py:class:`~hooke.pluging.curve.PowerSpectrumCommand`)
.. _Python: http://www.python.org/
.. _Numpy: http://numpy.scipy.org/
.. _PyYAML: http://pyyaml.org/
.. _Matplotlib: http://matplotlib.sourceforge.net/
.. _wxPython: http://www.wxpython.org/
+.. _FFT_tools: http://pypi.python.org/pypi/FFT-tools
+
Getting the source
==================
$ svn checkout http://hooke.googlecode.com/svn/branches/illysam/ hooke
-And a `fork`_ versioned in Mercurial_ (W. Trevor King)::
+And a `fork`_ versioned in Git_ (W. Trevor King)::
- $ hg clone http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/ hooke
- $ hg update wtk
+ $ git clone git://tremily.us/hooke.git
+ $ git checkout wtk
There are also periodic bundled releases. See the homepage for each
fork for details. For example, get the most recent snapshot of
.. _GUI fork: http://code.google.com/p/hooke/wiki/HookeGUI
.. _fork: http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke/
.. _Subversion: http://subversion.tigris.org/
-.. _Mercurial: http://mercurial.selenic.com/
+.. _Git: http://git-scm.com/
Installation
to see a list of installation options you may want to configure.
+If you install Hooke, you should probably setup a system- or user-wide
+configuration file (:doc:`config`), and replace any relative paths
+with appropriate absolute paths. For example::
+
+ # Commands for managing a command stack (similar to macros).
+ [command_stack plugin]
+ # Directory containing command stack files.
+ path = resources/command_stack
+
+ # wxWindows graphical user interface.
+ [gui user interface]
+ # Path to the hooke icon image.
+ icon image = /usr/share/hooke/doc/img/microscope.ico
+ # Path to the Hooke splash screen image.
+ splash screen image = /usr/share/hooke/doc/img/hooke.jpg
+ # Directory containing perspective files.
+ perspective path = ~/.hooke/resources/gui/perspective
+
+
Running Hooke from the source directory
=======================================