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-14 20:14 Message: Logged In: YES user_id=21627 It appears that the *-config programs (e.g. gtk-config, ...) share command line options; this seems to be part of the "pkg-config" system. I think we need to understand what precisely the standard for these utilities is, and conform to it. ---------------------------------------------------------------------- Comment By: Andre Jonsson (tatsujin) Date: 2005-03-14 09:43 Message: Logged In: YES user_id=195710 Ok. I'll make an attempt. What do you mean by "what specific options are expected from a *-config program" ? ---------------------------------------------------------------------- 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 _______________________________________________ Patches mailing list [email protected] http://mail.python.org/mailman/listinfo/patches
