summaryrefslogtreecommitdiff
path: root/numpy/setupscons.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2008-07-31 16:32:49 +0000
committerDavid Cournapeau <cournape@gmail.com>2008-07-31 16:32:49 +0000
commit2db8628fbbe4f4d40c54a56d01a9f6ceb873861b (patch)
tree165c3d8d03361b6f17e709429b2f5b7ee3eac580 /numpy/setupscons.py
parent3f025b5400c0855472a772487de8930bac9b5eef (diff)
downloadnumpy-2db8628fbbe4f4d40c54a56d01a9f6ceb873861b.tar.gz
Cosmetic changes.
Diffstat (limited to 'numpy/setupscons.py')
-rw-r--r--numpy/setupscons.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/numpy/setupscons.py b/numpy/setupscons.py
index b3ba29ad5..36324cc10 100644
--- a/numpy/setupscons.py
+++ b/numpy/setupscons.py
@@ -1,12 +1,13 @@
#!/usr/bin/env python
from os.path import join as pjoin
-def configuration(parent_package='',top_path=None):
+def configuration(parent_package='', top_path=None):
from numpy.distutils.misc_util import Configuration
from numpy.distutils.misc_util import scons_generate_config_py
pkgname = 'numpy'
- config = Configuration(pkgname,parent_package,top_path, setup_name = 'setupscons.py')
+ config = Configuration(pkgname, parent_package, top_path,
+ setup_name = 'setupscons.py')
config.add_subpackage('distutils')
config.add_subpackage('testing')
config.add_subpackage('f2py')
@@ -26,7 +27,8 @@ def configuration(parent_package='',top_path=None):
if kw['scons_cmd'].inplace:
target = pjoin(kw['pkg_name'], '__config__.py')
else:
- target = pjoin(kw['scons_cmd'].build_lib, kw['pkg_name'], '__config__.py')
+ target = pjoin(kw['scons_cmd'].build_lib, kw['pkg_name'],
+ '__config__.py')
scons_generate_config_py(target)
config.add_sconscript(None, post_hook = add_config)