BUG: Some macros require trailing semicolons for Numpy 1.7.

In Numpy 1.7 some macros have had their trailing semicolons removed
in the include file, hence require them in the source.
ENH: add Dag Sverre's cythonize command

./tools/cythonize checks for modifications in pyx files relative to the
corresponding c file, and updates the c file if it detects a mismatch.
DOC: interpolate: document the `w` parameter of splprep.
DOC: stats.distributions: update discrete example.  Closes #1421.
DOC: stats.distributions: slight rewording of hypergeom example.
BUG: sparse/arpack: use only double-precision routines if running on OSX

There are currently unresolved crash-bugs with OSX's Veclib in the
single-precision routines. This commit brings in a temporary workaround
to allow us to proceed with the 0.10.0 release.
MAINT: arpack: disable single-precision eigs/eigsh routines on all platforms.

Failures, hangs and crashes have been reported on both 64-bit OS X and multiple
Linux systems.  Until the cause of this is found, these routines should remain
disabled.
STY: Replace macros in old_define.h with new versions.
STY: Remove support for versions of numpy < 1.
STY: Remove support of numpy < 1 and update macros in old_defines.h.
BLD: fix Bento build

flapack no longer needs interface_gen
BUG: linalg: fix invalid rwork size in svd (#1580)
Merge pull request #148 from rgommers/ticket-1421-discrete-dists

DOC: stats.distributions: update discrete example.  Closes #1421.

Reviewed by Josef on ticket 1421.
Merge commit '605cf803f9c5d2328f47e1114f766cfaf9693209'
TST: Add tests for axis keyword for circular statistics.
Merge pull request #140 from teoliphant/master

BUG: Fix circular statistics and add tests.  Also closes 1537 and 175 and 176
ENH: optimize: add _minimize_tnc function with standard signature

`fmin_tnc` now calls this function. In `_minimize_tnc`, display is
controlled by the `disp` options only (which sets `messages` to `MSG_ALL`).
Backwards compatibility should be preserved.
ENH: optimize: add _minimize_cobyla function with standard signature

Constraints definition has been made more general in this function. Namely,
these should be defined either as `dict` or a sequence of `dict` with the
following fields:
 type: str
    Constraint type (either 'ineq' or 'eq', only 'ineq' for COBYLA).
 fun: callable
    The function defining the constraint.
 args: sequence, optional
    Extra arguments to be passed to the function.

`fmin_cobyla` now calls this function. Backwards compatibility should be
preserved.
ENH: optimize: add _minimize_slsqp function with standard signature

As for COBYLA, constraints definition has been reviewed. They should now be
defined as a sequence of dictionaries with fields 'type', 'fun' and
optionally 'jac' and 'args' (although `fmin_slsqp` does not support
constraints extra arguments distinct from those of the objective function).

The constraints handling is similar to that of COBYLA. A large part of the
code has also been review (simplified in some respect) accordingly. In
particular, whether constraints are provided as a list of scalar functions
or as one vector function is transparent. Also, a lot of function wrapping
has been dropped.

Finally, an example has been added in `__main__` which tests both
`fmin_slsqp` and `_minimize_slsqp` with bounds and constraints.

`fmin_slsqp` now calls `_minimize_slsqp`, so backwards compatibility should
be preserved.
ENH: add constrained optimization solvers to the minimize interface

New methods L-BFGS-B, TNC, COBYLA and SLSQP in `minimize` for constrained
minimization. Additional parameters are `bounds` and `constraints`. As
described in the previous commits, `constraints` is either a dict or a
sequence of dict if several constraints are to be handled.

Check if provided parameters are relevant with respect to the choosen
methods. Returns warning if not.

`show_minimize_options` has been updated accordingly.

Tests for `minimize` with these new methods have been added.