Author archives: Mike
Getting sip to build on Gentoo Python 2.5 (Or, how to use overlays.gentoo.org for those who don't feel like using "layman")
Written by
on
in
Snaking.
When I upgraded the workstation to 2.5 I wound up breaking the Eric3 IDE that I use for all my hacking (Python and otherwise). It was broken because of some Python 2.5 HeapTypeObject structure changes that meant the SIP wrapper generator wouldn't work. A search of the net revealed what appeared to be an ebuild ...
Ah the joys of bundling (Wish I had time to work on it today)
Written by
on
in
Snaking.
Blake reports that things go to handbaskets when attempting to include OpenGL (-ctypes) in a Py2App bundle. Apparently the setuptools entry-point registrations (which are required by OpenGL-ctypes) are not getting triggered so there's no handlers available.
And there's the flip-side of using big, standard(-ish) packages, when they break, you have to be willing (and have ...!-->!-->
Successes and failures trickle in (So far three of them...)
Written by
on
in
Snaking.
So far the count (for people other than me) of successes/failures is 1:2, with Blake getting a flawless install on OS X and Simon and Bill getting "Unexpected HTML page found at" errors. I'm now plowing through the 170 messages sitting in my distutils folder (I subscribe, but I often ignore the mailing list) to ...
Argh, two hours wasted (Testing is useless if the app you're using to record results crashes...)
Written by
on
in
Snaking.
Spent almost 2 solid hours running tests for OpenGL-ctypes on AMD64 Linux this afternoon. Unfortunately, NVU crashed as I was entering the result for the second-to-last test. Argh. Apparently I didn't save during the entire period, so the recorded tests are at exactly the same point they were yesterday.
I'm going to skip doing the ...!-->!-->
Bit of project maintenance work on OpenGL (Before and after work...)
Written by
on
in
Snaking.
Integrated a patch from Marco and answered various project-related emails this morning. Then started writing a "Using OpenGL in Python" document for the new release. Lastly started going through the demos and creating an up-to-date table showing passing/failing demos for each platform (well, just the one at the moment, but with space for the others). ...
A lesson from years of PyOpenGL (Not quite Zen, but oh well...)
Written by
on
in
Snaking.
I took over managing the PyOpenGL project a very long time ago. Over that period it's had a complete rewrite (two if you count OpenGL-ctypes) and has dramatically grown in complexity. However, for the most part it has "just worked"... once you got it installed.
Over the years, however, we've been dogged by extensive problems ...!-->!-->
Reversal on Ubuntu (I know they don't build from source very often, but really...)
Written by
on
in
Snaking.
I sat down briefly at Soni's last night to try to test OpenGL-ctypes, and OpenGLContext. After a bit of wrestling to get a non-admin setuptools install I realised that Soni didn't have ctypes installed. Okay, so download and build ctypes... except that the libffi failed to build (compilation errors).
I was too sick/out-of-it to think ...!-->!-->
A weekend of little tasks (Bits and pieces but no great accomplishments)
Written by
on
in
Snaking,
Vindaloo.
I took a 4 day weekend intending to spend the entire time on OpenGL-ctypes and related projects, trying to get the whole enchilada moved to an alpha release. Somehow out of the entire weekend I only seemed to get about 1 day of hacking in.
During that short period I ported SimpleParse and TTFQuery to ...!-->!-->
VRML97 converted to use numpy or Numeric (and setuptools...)
Written by
on
in
Snaking.
I've converted the VRML97 scenegraph accellerator modules to use numpy (preferred) or Numeric. I also discovered a subtle import error, I had used from
ctypes import * in one of the modules and as a result it was shadowing a Numeric/numpy function (resize). I'll have to go through and eliminate all from ctypes import * ...
On puppy love and training (First session with the trainer)
Written by
on
in
Vindaloo.
We had our first session with the puppy trainer this evening. Biggest revelation for me is that you can demand far more from the puppy than I'd expected. I'd somehow understood that you had to wait until they are 4 or 5 months before you start demanding close-leash walking and the like. She demonstrated that ...