Friday, January 2, 2009

distutils, oh how I hate you...

It took me forever and a day to get the original setup.py working for pybox2d, and then some people came along and told me how it was unnecessarily complex. And that it didn't work in the standard way and was somewhat confusing. Great.

With a push from the user snickell, I worked on restructuring the code-base to get it to conform to standard distribution methods.

I've decided that I will no longer install the testbeds and things to c:\Python2x\Box2D for Windows users and will simply just offer them in a separate archive as I see some other libraries do.

*EDIT*
My problem has been resolved and everything is apparently working now. I'm ready for another release -- but with nothing really new on the Box2D end, I guess there's nothing to do but wait.

A few questions for you faithful few who reload this page every once in a while:
Windows users: Do you prefer MSI's or executables for your libraries?
Linux users: Any interest in an RPM distribution?

Any other comments/etc. about the releases are always welcome.

4 comments:

  1. I think your extension name should be 'Box2D._Box2D'; it's currently '_Box2D'.

    As for the installer, I don't care either way, exe and msi are both fine.

    ReplyDelete
  2. Jussi, thank you. I knew it was something ridiculously simple. :)

    Now I can finally merge the branch back to the trunk.

    ReplyDelete
  3. Thanks for your hard work on this Jussi!

    I'd say MSI, a lot of places ban exe downloads outright.

    Also, if it wasn't too much trouble, a ZIP of the DLL would be appreciated just as much.

    ReplyDelete
  4. I'd love an RPM for Fedora, that's actually what I was searching for that brought me here :)

    ReplyDelete