[Patches] [ python-Patches-1161914 ] python-config
SourceForge.net
noreply at sourceforge.net
Sun Mar 13 23:47:19 CET 2005
Patches item #1161914, was opened at 2005-03-12 11:44
Message generated for change (Comment added) made by loewis
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1161914&group_id=5470
Category: Distutils and setup.py
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Andre Jonsson (tatsujin)
Assigned to: Nobody/Anonymous (nobody)
Summary: python-config
Initial Comment:
I'm not sure this is the correct place to do this, but I found the need
for a python-config (similar to sdl-config, etc.) when building an
C++ application that embeds python.
It accepts two arguments --cflags and --static-libs:
# ./python-config --cflags --static-libs
-I/usr/include/python2.4
/usr/lib/python2.4/config/libpython2.4.a
I guess it could be expanded to do more, but it was all I needed.
----------------------------------------------------------------------
>Comment By: Martin v. Löwis (loewis)
Date: 2005-03-13 23:47
Message:
Logged In: YES
user_id=21627
This is the right place if you want this to be included in
the standard Python distribution. If you just want to share
it with others, the Python cookbook is a better place:
http://aspn.activestate.com/ASPN/Python/Cookbook/
In the current form, this is not acceptable, as it is
incomplete (e.g. there is no integration into the Python
build process, and we need to know what specific options are
expected from a *-config program, and implement them). Are
you willing to complete this?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1161914&group_id=5470
More information about the Patches
mailing list