[pypy-svn] r41321 - pypy/dist/pypy/config

cfbolz at codespeak.net cfbolz at codespeak.net
Mon Mar 26 12:33:02 CEST 2007


Author: cfbolz
Date: Mon Mar 26 12:33:01 2007
New Revision: 41321

Modified:
   pypy/dist/pypy/config/pypyoption.py
Log:
remove some modules from --allworkingmodules under windows (because they don't
work).


Modified: pypy/dist/pypy/config/pypyoption.py
==============================================================================
--- pypy/dist/pypy/config/pypyoption.py	(original)
+++ pypy/dist/pypy/config/pypyoption.py	Mon Mar 26 12:33:01 2007
@@ -1,7 +1,6 @@
 import autopath
 import py, os
 import sys
-import platform
 from pypy.config.config import OptionDescription, BoolOption, IntOption, ArbitraryOption
 from pypy.config.config import ChoiceOption, StrOption, to_optparse, Config
 
@@ -28,6 +27,13 @@
     ]
 ))
 
+if sys.platform == "win32":
+    del working_modules["rsocket"]
+    del working_modules["fcntl"]
+    del working_modules["select"]
+    del working_modules["readline"]
+
+
 module_dependencies = { }
 if os.name == "posix":
     module_dependencies['rctime'] = [("objspace.usemodules.select", True),]



More information about the Pypy-commit mailing list