On Sat, May 5, 2012 at 8:14 PM, Kevin Walzer <[email protected]> wrote: > I'm now working on learning how to use cx_freeze on OS X/Lion, and I've > made some very nice progress; I've also modified a few of the source > files to address some bugs I've found (install_name_tool can't handle > zip files, for instance), and will be submitting patches on those in the > very near future.
Thanks. That will be greatly appreciated as there are few of us on this list who know Mac well. :) If you can make them as pull requests on BitBucket that way you'll be permanently credited as well -- but I'll take them any way that works for you. > One question I did have was on how to pass customized build flags, > specifically CFLAGS and LDFLAGS, to cx_freeze. I use a "universal > binary" build of Python that has combined 32- and 64-bit executables > (using the Mac's "-arch" flag), and I also need to link my final > executable to the Cocoa framework (requirement for the Mac App Store). > Although I have these flags defined in my bash_profile, cx_freeze seems > to ignore them. I'm looking for a place in the cx_freeze source tree to > add this support, but thus far I haven't been able to find it. Can > someone point me in the right direction? I can try. :) The only place that this would take place is when building the base executables. This is done with setup.py and follows the configuration used when building Python. You can see this code in the build_extension() method. If you have suggestions on how to make that work, please let me know. Anthony ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ cx-freeze-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
