New submission from Ronald Oussoren:
While working on a fix for #18211 I noticed two problems with the setup.py
that's used to build the stdlib extensions.
1) setup.py uses sysconfig instead of distutils.sysconfig. The sematics of the
two modules a slighty different.
2) The block of code starting with the this text is not necessary because
distutils.sysconfig (which is used by the build_ext command) already does the
right thing for environment variables:
# When you run "make CC=altcc" or something similar, you really want
# those environment variables passed into the setup.py phase. Here's
# a small set of useful ones.
----------
components: Build
files: setup-update.txt
messages: 191406
nosy: ronaldoussoren
priority: normal
severity: normal
stage: patch review
status: open
title: CPython setup.py problems
type: behavior
versions: Python 2.7, Python 3.3, Python 3.4
Added file: http://bugs.python.org/file30640/setup-update.txt
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue18255>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com