summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-10-24 20:11:21 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-10-24 20:11:21 (GMT)
commit6103ab1d0b3361486960f3fa7711f20c91c535f5 (patch)
treec4ab6589e1e01f758500b6a054e19a747d3086cb /Tools
parent194fcf2d15c90ae9ed9cb9e1d95721e6a6e54281 (diff)
downloadcpython-6103ab1d0b3361486960f3fa7711f20c91c535f5.zip
cpython-6103ab1d0b3361486960f3fa7711f20c91c535f5.tar.gz
cpython-6103ab1d0b3361486960f3fa7711f20c91c535f5.tar.bz2
Remove AtheOS support, as per PEP 11 (which claims that all code was removed in Python 3.0).
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/h2py.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/Tools/scripts/h2py.py b/Tools/scripts/h2py.py
index 19995b9..697e7fe 100755
--- a/Tools/scripts/h2py.py
+++ b/Tools/scripts/h2py.py
@@ -49,13 +49,7 @@ except KeyError:
try:
searchdirs=os.environ['INCLUDE'].split(';')
except KeyError:
- try:
- if sys.platform.startswith("atheos"):
- searchdirs=os.environ['C_INCLUDE_PATH'].split(':')
- else:
- raise KeyError
- except KeyError:
- searchdirs=['/usr/include']
+ searchdirs=['/usr/include']
def main():
global filedict