summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py14
1 files changed, 5 insertions, 9 deletions
diff --git a/setup.py b/setup.py
index 04bd7a037..dd87837a8 100755
--- a/setup.py
+++ b/setup.py
@@ -54,10 +54,10 @@ def configuration(parent_package='',top_path=None):
config.add_subpackage('numpy')
-
- config.name = 'numpy'
- #config.dict_append(version=version)
- #print config.name,'version',config.version
+ config.name = 'numpy' # used in generated file names
+
+ from numpy.version import version
+ config.dict_append(version=version)
config.add_data_files(('numpy',['*.txt','COMPATIBILITY',
'scipy_compatibility']))
@@ -74,11 +74,7 @@ def setup_package():
sys.path.insert(0,local_path)
try:
-
- from numpy.version import version
- setup( configuration=configuration,
- version = version
- )
+ setup( configuration=configuration )
finally:
del sys.path[0]
os.chdir(old_path)