On Nov 7, 7:19 pm, Jason wrote:
> My situation is this: I have a Diamond Systems single-board computer
> with a
> matching GPIO board. DS have a library for controlling the GPIO
> board... but
> it's a static library (libdscud-6.02.a) with an accompanying header
> (dscud.h).
> I'd like to create a
On Nov 8, 4:16 pm, "Martin v. Loewis" wrote:
> No. A python *installation* has a Makefile, in config/Makefile. If
> you want distutils to use different options, you could edit this
> Makefile.
Oh, I see what you mean. But then it would affect *everything* I build
on that machine, so I'll stick wi
>> You can solve some of the
>> problems by editing the Makefile which it uses to learn the compiler
>> options from.
>
> I don't understand this - do you mean I should edit the Makefile in
> the actual distutils package, and somehow use that in my project
> instead of setup.py?
No. A python *ins
On Nov 8, 8:55 am, Jason wrote:
> Do you know if virtualenv allows installing a Python environment with
> a different architecture than that of the system Python install? I
> suspect not, but maybe there's an option I don't know about.
Found a better solution, which is to just compile Python from
On Nov 8, 8:30 am, "Martin v. Loewis" wrote:
> At a minimum, you should be using the target's python binary. distutils
> has close-to-none cross-compiling support.
Do you know if virtualenv allows installing a Python environment with
a different architecture than that of the system Python install
> So is it possible to get distutils to cross compile something like
> this, and
> if so, what am I missing? Or am I using the wrong tool for the job?
At a minimum, you should be using the target's python binary. distutils
has close-to-none cross-compiling support. You can solve some of the
proble
My situation is this: I have a Diamond Systems single-board computer
with a
matching GPIO board. DS have a library for controlling the GPIO
board... but
it's a static library (libdscud-6.02.a) with an accompanying header
(dscud.h).
I'd like to create a Python extension to use the device.
The archi