This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add python-config --configdir option
Type: Stage:
Components: Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: barry, doko, georg.brandl, python-dev
Priority: release blocker Keywords: patch

Created on 2012-07-26 15:42 by barry, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
configdir.diff barry, 2012-07-26 15:42 review
Messages (3)
msg166491 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2012-07-26 15:42
To assist with vendor builds, Matthias has requested added a --configdir option to the python3-config script.  This would return sysconfig.get_config_var('LIBPL').  The value is embedded in the output for --ldflags, but not in a convenient way.

The change is fairly trivial; see attached patch.  I am assigning this to Georg and making it a release blocker because I would like to get a freeze exemption for Python 3.3.  If Georg agrees, I will commit the patch.  If not, please twiddle Priority, Versions, and Assigned To as appropriate.
msg166510 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2012-07-26 19:56
I guess we can do this, looks fine to me.
msg166524 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2012-07-26 22:12
New changeset ddf15cd9be4a by Barry Warsaw in branch 'default':
- Issue #15458: python-config gets a new option --configdir to print the
http://hg.python.org/cpython/rev/ddf15cd9be4a
History
Date User Action Args
2022-04-11 14:57:33adminsetgithub: 59663
2012-07-26 22:13:11barrysetstatus: open -> closed
resolution: fixed
2012-07-26 22:12:15python-devsetnosy: + python-dev
messages: + msg166524
2012-07-26 19:56:42georg.brandlsetmessages: + msg166510
2012-07-26 15:43:07barrysetnosy: + doko
2012-07-26 15:42:55barrycreate