Permalink
Browse files

DOC: moved redame out of setup.py into README.rst

  • Loading branch information...
1 parent 521bcaf commit be219ac00e02d40599689715e889a9adc4bf0275 Ilan Schnell committed Jun 12, 2011
Showing with 21 additions and 30 deletions.
  1. +19 −0 README.rst
  2. +0 −2 README.txt
  3. +2 −28 setup.py
View
@@ -0,0 +1,19 @@
+=================================================
+scimath: Scientific and Mathematical calculations
+=================================================
+
+http://github.enthought.com/scimath
+
+The SciMath project includes packages to support scientific and mathematical
+calculations, beyond the capabilities offered by SciPy.
+
+- scimath.interpolate
+- scimath.mathematics
+- scimath.units
+- scimath.physical_quantities
+
+Prerequisites
+-------------
+
+* `NumPy <http://pypi.python.org/pypi/numpy>`_
+* `SciPy <http://pypi.python.org/pypi/scipy>`_
View
@@ -1,2 +0,0 @@
-The SciMath project, a part of the Enthought Tool Suite.
-
View
@@ -1,28 +1,6 @@
-#!/usr/bin/env python
-#
# Copyright (c) 2008-2011 by Enthought, Inc.
# All rights reserved.
-"""
-Scientific and Mathematical calculations.
-
-The SciMath project includes packages to support scientific and mathematical
-calculations, beyond the capabilities offered by SciPy.
-
-- scimath.interpolate
-- scimath.mathematics
-- scimath.units
-- scimath.physical_quantities
-
-Prerequisites
--------------
-You must have the following libraries installed before building or installing
-SciMath:
-
-* `NumPy <http://pypi.python.org/pypi/numpy>`_
-* `SciPy <http://pypi.python.org/pypi/scipy>`_
-"""
-
# NOTE: Setuptools must be imported BEFORE numpy.distutils or else
# numpy.distutils won't do the correct thing.
import setuptools
@@ -37,10 +15,6 @@
INFO = setup_data['INFO']
-# Pull the description values for the setup keywords from our file docstring.
-DOCLINES = __doc__.split("\n")
-
-
# Setup our extensions to Python.
def configuration(parent_package='', top_path=None):
from numpy.distutils.misc_util import Configuration
@@ -90,10 +64,10 @@ def configuration(parent_package='', top_path=None):
Topic :: Software Development
Topic :: Software Development :: Libraries
""".splitlines() if len(c.split()) > 0],
- description = DOCLINES[1],
+ description = 'scientific and mathematical calculations',
+ long_description = open('README.rst').read(),
install_requires = INFO['install_requires'],
license = "BSD",
- long_description = '\n'.join(DOCLINES[3:]),
maintainer = 'ETS Developers',
maintainer_email = 'enthought-dev@enthought.com',
name = INFO['name'],

0 comments on commit be219ac

Please sign in to comment.