"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "SCons/Platform/__init__.py" between
scons-4.2.0.tar.gz and SCons-4.3.0.tar.gz

About: SCons is a software construction tool (a Python script and a set of modules as a superior alternative to the classic "Make" build tool).

__init__.py  (scons-4.2.0):__init__.py  (SCons-4.3.0)
skipping to change at line 55 skipping to change at line 55
import importlib import importlib
import os import os
import sys import sys
import tempfile import tempfile
import SCons.Errors import SCons.Errors
import SCons.Subst import SCons.Subst
import SCons.Tool import SCons.Tool
def platform_default(): def platform_default():
"""Return the platform string for our execution environment. r"""Return the platform string for our execution environment.
The returned value should map to one of the SCons/Platform/\*.py The returned value should map to one of the SCons/Platform/\*.py
files. Since scons is architecture independent, though, we don't files. Since scons is architecture independent, though, we don't
care about the machine architecture. care about the machine architecture.
""" """
osname = os.name osname = os.name
if osname == 'java': if osname == 'java':
osname = os._osType osname = os._osType
if osname == 'posix': if osname == 'posix':
if sys.platform == 'cygwin': if sys.platform == 'cygwin':
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)