summaryrefslogtreecommitdiff
path: root/weave/ext_tools.py
diff options
context:
space:
mode:
authorEric Jones <eric@enthought.com>2002-01-13 08:25:22 +0000
committerEric Jones <eric@enthought.com>2002-01-13 08:25:22 +0000
commit941538268cefd76c0c8171c89ff7714cdf619f13 (patch)
treea99d255f34be5b3c89cdf3e9d4dcf00a6efeed64 /weave/ext_tools.py
parent6c49b9f81fb01ab4ef658a5acb4fe807b7cc4892 (diff)
downloadnumpy-941538268cefd76c0c8171c89ff7714cdf619f13.tar.gz
* anydbm was causing fits across platforms. Now I think it mainly had to do with bugs in
dumbdbm with 2.x up to 2.2. I've included a cleaned up version of dumbdbm in weave to prevent this from being an issue. Now catalogs always use this local version of dumbdbm. * cleaned up helper test routines so that catalog backup/restore works more smoothly * temporary files and directories are cleaned up a little better after testing. * file builds are now done in the temporary directory to try and speed up the build process on Unix machines with remote file systems for user directories. Probably not a big help.
Diffstat (limited to 'weave/ext_tools.py')
-rw-r--r--weave/ext_tools.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/weave/ext_tools.py b/weave/ext_tools.py
index 3c18d2fb9..3c00bbb9c 100644
--- a/weave/ext_tools.py
+++ b/weave/ext_tools.py
@@ -338,7 +338,9 @@ class ext_module:
# This is needed so that files build correctly even when different
# versions of Python are running around.
import catalog
- temp = catalog.default_temp_dir()
+ #temp = catalog.default_temp_dir()
+ # for speed, build in the machines temp directory
+ temp = catalog.intermediate_dir()
success = build_tools.build_extension(file, temp_dir = temp,
sources = source_files,
compiler_name = compiler,