distutils and ctypes

"Martin v. Löwis" martin at v.loewis.de
Tue Jan 9 15:46:15 EST 2007


jtravs at gmail.com schrieb:
> I suspect that I'm doing something stupid, I would like some other
> opinions though.
> I'm getting started with ctypes and am trying to use distutils to help
> build my module. At the moment I simply want distutils to build a
> shared c library (not a python extension!). Under linux, the following
> works, under windows xp id doesn't (which I guess is obvious, but the
> linux success lead me on).

Not sure it's stupid, but I wonder why you want to use ctypes. What's
wrong with extension modules?

Regards,
Martin



More information about the Python-list mailing list