Re: [Pythonmac-SIG] Linking against a Python extension

2005-12-20 Thread matthias . oberlaender
[EMAIL PROTECTED] schrieb am 20.12.2005 22:25:28: > > First question: Is it possible to link against a normally built Python > > extension? > > > > More specifically, I want to pass the '.so' file of some Python extension > > as an extra link argument to the 'weave.inline' function. This seems t

[Pythonmac-SIG] Linking against a Python extension

2005-12-20 Thread matthias . oberlaender
First question: Is it possible to link against a normally built Python extension? More specifically, I want to pass the '.so' file of some Python extension as an extra link argument to the 'weave.inline' function. This seems to work quite well on Linux. But I suspect, on Mac OS X the answer i

Re: [Pythonmac-SIG] Mac PyImport_ImportModule("modulename")

2005-12-13 Thread matthias . oberlaender
(snip) PyRun_SimpleString("sys.path.append('.\')\n"); (snip) I try to throw in my 5 Cent: The backslash (Windows path separator?) following the dot might be the problem. So let me guess, the program runs on Windows, but not on Unix. (Sorry for my silly quoting, but Lotus Notes is a pain!)

[Pythonmac-SIG] Installing "fat" python extensions with distutils?

2005-09-26 Thread matthias . oberlaender
We use the same (!) Python version in a mixed computing environment, i.e. we are having Linux, Mac and Windows XP. And we push sharing code in an "ad hoc" fashion (in addition to the more "correct" but inert patterns involving cvs): Whenever a collegue thinks some Python script or module might b

Re: [Pythonmac-SIG] Set/get finder color label of a file

2005-08-23 Thread matthias . oberlaender
> Oops, binary installer's older than I thought. You'll also need the > latest versions of aem and osaterminology: > > http://freespace.virgin.net/hamish.sanderson/aem-0.8.0.tar.gz > http://freespace.virgin.net/hamish.sanderson/osaterminology-0.6.0.tar.gz > > That should do it. Any problems, le

Re: [Pythonmac-SIG] Set/get finder color label of a file

2005-08-19 Thread matthias . oberlaender
has wrote: > matthias oberlaender wrote: > >I would very much like to get and set the color label (or 'label index') > >of a file programmatically from Python. I spent quite some time googling, > >but was unable to extract the necessary bits how to do it with a

[Pythonmac-SIG] Set/get finder color label of a file

2005-08-17 Thread matthias . oberlaender
I would very much like to get and set the color label (or 'label index') of a file programmatically from Python. I spent quite some time googling, but was unable to extract the necessary bits how to do it with a few Carbon calls. Can somebody on the list help me out on this? (I surely don't w