[Pythonmac-SIG] bdist_mpkg with C sources

Robert Kern rkern at ucsd.edu
Tue Apr 5 18:56:09 CEST 2005


Jonathan Peirce wrote:
> I'm wanting to make a mac installer for a python library I maintain that 
> contains some C extensions and I'm not clear how to go about it since 
> setup for bdist_mpkg doesn't accept ext_module.
> 
> Does anyone have a simple-ish example of how to do this? Or will it be 
> that bdist_mpkg will one day just act like the regular distutils bdist? 
> Obviously ideally I would like not to have a separate setup.py for each 
> platform I support - would be much nicer to have a single script like 
> the one below (which does successfully build a mac binary distribution 
> using bdist, just not the double-clickable installer)

I have built upwards of 40-ish packages with extension modules and 
packaged them with bdist_mpkg. I have found no such problem. Can you 
describe the actual problem that you are seeing in more detail?

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter


More information about the Pythonmac-SIG mailing list