Rename project piezo -> pypiezo and restructure.
[pypiezo.git] / README
diff --git a/README b/README
index 16453ba58632ab749eb6c9789a4389cc9728a3b1..2d03505794eebe8872ce053130435f5a41bb6531 100644 (file)
--- a/README
+++ b/README
@@ -1,57 +1,99 @@
-Python modules to control piezoelectric actuators.  Mostly a set of
-convenient wrappers around pycomedi calls for keeping track of the
-relevant calibration constants.  To get a feel for an `official' set
-of calibration constants, you can take a peek at veeco_header, which
-is the beginning of a saved Veeco NanoScope image file.  It lists the
-parameters used by the NanoScope during imaging.
+Pypiezo: Python modules to control piezoelectric actuators.
 
-== Installation ==
+Mostly a set of convenient wrappers around pycomedi calls for keeping
+track of the relevant calibration constants.  To get a feel for an
+"official" set of calibration constants, you can take a peek at
+`veeco_header`, which is the beginning of a saved Veeco NanoScope
+image file.  It lists the parameters used by the NanoScope during
+imaging.
 
-Non-Python dependencies (Debian packagename):
-  easy_install  (python-setuptools)
-  Numpy         (python-numpy)
-  Scipy         (python-scipy)
-  Matplotlib    (python-matplotlib)
 
-Piezo uses `setuptools' for installation.  Setuptools is basically an
-extension of the standard Python distutils package which supports
-automatic package dependency tracking.  The installation procedure
-should be (on Debian-esque systems)
-  # apt-get intall python-setuptools python-numpy python-scipy python-matplotlib
-  # easy_install -f http://www.physics.drexel.edu/~wking/code/python/ piezo
+Installation
+============
 
-There is one speedbump you might run into:
-  * an outdated version of easy_install (see ez_setup.py section)
+Packages
+--------
 
-** ez_setup.py
+Gentoo
+~~~~~~
 
-This package bundles
-  http://peak.telecommunity.com/dist/ez_setup.py
-to bootstrap setuputils installation on your machine (if neccessary).
+I've packaged FFT-tools for Gentoo.  You need layman_ and my `wtk
+overlay`_.  Install with::
 
-If the bootstrapping doesn't work, you may need to install a current version
-of setuptools.  On Debian-based systems `apt-get install python-setuptools'.
-Once you have *some* version of setuptools, upgrade with
-  easy_install -U setuptools
+    # emerge -av app-portage/layman
+    # layman --add wtk
+    # emerge -av sci-libs/pycomedi
 
-For more information see
-  http://peak.telecommunity.com/DevCenter/EasyInstall
-  http://peak.telecommunity.com/DevCenter/setuptools#what-your-users-should-know
 
+Dependencies
+------------
 
-== Usage ==
+If you're installing by hand or packaging pycomedi for another
+distribution, you'll need the following dependencies:
 
-See piezo/z_piezo_utils.py for some simple examples.
+===========  =================  =====================
+Package      Debian_            Gentoo_
+===========  =================  =====================
+Numpy_       python-numpy       dev-python/numpy
+Scipy_       python-scipy       sci-libs/scipy
+Matplotlib_  python-matplotlib  dev-python/matplotlib
+Nose_        python-nose        dev-python/nose
+Pycomedi_                       dev-python/pycomedi
+===========  =================  =====================
 
 
-== Licence ==
+Installing by hand
+------------------
 
-This project is distributed under the GNU General Public Licence
-Version 3 or greater.  See LICENSE.
+Pypiezo is available as a Git_ repository::
 
+    $ git clone http://www.physics.drexel.edu/~wking/code/git/pypiezo.git
 
-== Author ==
+See the homepage_ for details.  To install the checkout, run the
+standard::
+
+    $ python setup.py install
+
+
+Usage
+=====
+
+See the module docstrings for simple examples.
+
+
+Testing
+=======
+
+Run internal unit tests with::
+
+    $ nosetests --with-doctests --doctest-tests pypiezo
+
+
+Licence
+=======
+
+This project is distributed under the `GNU General Public License
+Version 3`_ or greater.
+
+
+Author
+======
 
 W. Trevor King
 wking@drexel.edu
-Copyright 2007, 2008
+Copyright 2007-2011
+
+
+.. _layman: http://layman.sourceforge.net/
+.. _wtk overlay:
+     http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/Gentoo_overlay
+.. _Debian: http://www.debian.org/
+.. _Gentoo: http://www.gentoo.org/
+.. _NumPy: http://numpy.scipy.org/
+.. _SciPy: http://www.scipy.org/
+.. _Matplotlib: http://matplotlib.sourceforge.net/
+.. _Nose: http://somethingaboutorange.com/mrl/projects/nose/
+.. _Git: http://git-scm.com/
+.. _homepage:
+     http://www.physics.drexel.edu/~wking/unfolding-disasters/posts/pypiezo/
+.. _GNU General Public License Version 3: http://www.gnu.org/licenses/gpl.txt