Minor cleanup in sysconfig.

Also remove outdated and unhelpful docstrings in test_sysconfig.
This commit is contained in:
Éric Araujo 2011-05-25 18:21:43 +02:00
parent 9bcfacd4fc
commit 559b5f1ca0
2 changed files with 2 additions and 18 deletions

View file

@ -656,11 +656,10 @@ def get_platform():
# to. This makes the compatibility story a bit more sane because the
# machine is going to compile and link as if it were
# MACOSX_DEPLOYMENT_TARGET.
#
cfgvars = get_config_vars()
macver = cfgvars.get('MACOSX_DEPLOYMENT_TARGET')
if 1:
if True:
# Always calculate the release of the running machine,
# needed to determine if we can build fat binaries or not.
@ -755,7 +754,7 @@ def _main():
print('Platform: "%s"' % get_platform())
print('Python version: "%s"' % get_python_version())
print('Current installation scheme: "%s"' % _get_default_scheme())
print('')
print()
_print_dict('Paths', get_paths())
print()
_print_dict('Variables', get_config_vars())