Popular recipes tagged "compiler" but not "inheritance"http://code.activestate.com/recipes/tags/compiler-inheritance/2015-01-29T20:54:38-08:00ActiveState Code RecipesBuild extension modules inplace with a Makefile (Python) 2015-01-29T20:54:38-08:00Zack Weinberghttp://code.activestate.com/recipes/users/4190298/http://code.activestate.com/recipes/579016-build-extension-modules-inplace-with-a-makefile/ <p style="color: grey"> Python recipe 579016 by <a href="/recipes/users/4190298/">Zack Weinberg</a> (<a href="/recipes/tags/compiler/">compiler</a>, <a href="/recipes/tags/module/">module</a>). </p> <p>Do you find distutils to be poorly documented, overdesigned yet still inadequate, and far too difficult to do anything out of the ordinary with? Do you find yourself wishing that you could just write a Makefile for your extension modules, if only you knew how to form the compile commands?</p> <p>Then this tool is for you. An example (GNU) makefile to use it with is embedded in the code; it assumes you save this program as <code>get-module-compile-cmds.py</code> in the same directory as the makefile. Tested with 2.7 and 3.4; may work with older versions as well.</p> <p>Installation is not currently supported; patches welcome.</p>