On 10 Jul, 2012, at 18:41, Marc Abramowitz wrote:
Anyone know how to build and run tests on an OS X build with —enable-framework, without installing the framework? I want to test that something works in my tree without polluting /Library/Frameworks with stuff that could mess up future tests.
I've been mucking around with DYLD_FRAMEWORK_PATH but not having much luck.
Setting DYLD_FRAMEWORK_PATH should work and is whtat's used for RUNSHARED in the Makefile.
I regularly build using 'configure --enable-framework' and then use 'make test' to test that build. This runs the python.exe in the build directory with DYLD_FRAMEWORK_PATH set to the build directory (as an absolute path).
Thanks, Marc _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/ronaldoussoren%40mac.com