summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2007-05-31 04:57:01 +0000
committerTravis Oliphant <oliphant@enthought.com>2007-05-31 04:57:01 +0000
commit00a35871d1af7aee6c329b6341e79d592e234272 (patch)
tree4625ca677e9a7b2521fabd3f8fe78544a147d96f /setup.py
parentaaba782713ef34736f15d016e9b080c2cc46bf47 (diff)
downloadnumpy-00a35871d1af7aee6c329b6341e79d592e234272.tar.gz
Fix some problems with data-files not being added in top-level and extra version information added to the name of development distributions.
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/setup.py b/setup.py
index b69ab48da..abf3b4ebd 100755
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,8 @@ efficiently manipulate large multi-dimensional arrays of arbitrary
records without sacrificing too much speed for small multi-dimensional
arrays. NumPy is built on the Numeric code base and adds features
introduced by numarray as well as an extended C-API and the ability to
-create arrays of arbitrary type.
+create arrays of arbitrary type which also makes NumPy suitable for
+interfacing with general-purpose data-base applications.
There are also basic facilities for discrete fourier transform,
basic linear algebra and random number generation.
@@ -47,11 +48,12 @@ def configuration(parent_package='',top_path=None):
config.add_subpackage('numpy')
- config.add_data_files(('numpy',['*.txt','COMPATIBILITY',
- 'scipy_compatibility']))
+ config.add_data_files(('numpy','*.txt'), ('.','COMPATIBILITY'),
+ ('.','scipy_compatibility'),
+ ('.','site.cfg.example'))
config.get_version('numpy/version.py') # sets config.version
-
+
return config
def setup_package():
@@ -64,10 +66,8 @@ def setup_package():
sys.path.insert(0,local_path)
try:
- from numpy.version import version
setup(
name = 'numpy',
- version = version, # will be overwritten by configuration version
maintainer = "NumPy Developers",
maintainer_email = "numpy-discussion@lists.sourceforge.net",
description = DOCLINES[0],