[Pythonmac-SIG] Module build fails because distutils adds "-isysroot"

2009-09-30 Thread Patrick Näf
Hi folks I'm currently writing a very simple Python module in C that provides an interface to libaprutil's MD5 routines. I compile my module using distutils, as per instructions in the "Building C and C++ Extensions with distutils" chapter of the official Python docs. Since Mac OS X has libapruti

Re: [Pythonmac-SIG] Lanchd + virtualenv

2009-09-30 Thread Gabriel Rossetti
Ronald Oussoren wrote: On 25 Sep, 2009, at 14:56, Gabriel Rossetti wrote: Hello everyone, I would like to create a Launchd plist entry to start a virtualenv and run a python project. I created my plist, but I'm not sure how to get it to activate the virtualenv and run the program. Unless

Re: [Pythonmac-SIG] Module build fails because distutils adds "-isysroot"

2009-09-30 Thread Dave Peterson
Hi Patrick, Patrick Näf wrote: ... my module's build fails miserably, like this: tharbad:~ patrick$ /Library/Frameworks/Python.framework/Versions/3.1/bin/python3.1 ./setup.py build_ext --inplace running build_ext building 'aprmd5' extension gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/Mac

[Pythonmac-SIG] Problems getting started with py2app and wxPython

2009-09-30 Thread Jeff Garbers
Hello! I'm just getting started trying to build a standalone Mac application based on wxPython. I'm on OS X 10.6.1, using Python 2.6.1 as distributed with the OS. The app is a simple "hello world" type of thing: import wx class MyApp(wx.App): def OnInit(self): frame = wx.Frame

Re: [Pythonmac-SIG] Problems getting started with py2app and wxPython

2009-09-30 Thread Christopher Barker
Jeff Garbers wrote: Hello! I'm just getting started trying to build a standalone Mac application based on wxPython. I'm on OS X 10.6.1, using Python 2.6.1 as distributed with the OS. note that py2ap will not bundle up python itself in this case, and your app will only work on 10.6 systems.

Re: [Pythonmac-SIG] Lanchd + virtualenv

2009-09-30 Thread Ronald Oussoren
On 30 Sep, 2009, at 17:31, Gabriel Rossetti wrote: Ronald Oussoren wrote: On 25 Sep, 2009, at 14:56, Gabriel Rossetti wrote: Hello everyone, I would like to create a Launchd plist entry to start a virtualenv and run a python project. I created my plist, but I'm not sure how to get it t

[Pythonmac-SIG] web services

2009-09-30 Thread sudhakar s
HI, Can any one suggest me how to create a simple web service. Started working with webservices but fully confused with searches i made. any one have simple web service script which is currently working? -- With Regards, S Sudhakar. ___ Pythonma

Re: [Pythonmac-SIG] web services

2009-09-30 Thread Chris Rebert
On Wed, Sep 30, 2009 at 11:41 PM, sudhakar s wrote: > > HI, >    Can any one suggest me how to create a simple web service. >    Started working with webservices but fully confused with searches i made. > >    any one have simple web service script which is currently working? How is this relevant