Phillip Pearson - web + electronics notes

tech notes and web hackery from a new zealander who was vaguely useful on the web back in 2002 (see: python community server, the blogging ecosystem, the new zealand coffee review, the internet topic exchange).

distutils about-face

Hmm ... I've changed my mind about using distutils to build htsearch. It looks like GNU Automake does actually handle Python apps, which means I won't have to mess around getting all the compiler quirk stuff that comes out of Automake working with distutils. Yay! Now to try and get my Debian install to use the right version of Automake, so it doesn't barf on the configure.in script.

Debugging notes:

So there you go. If you want to get something compiling as a Python module under Automake:

  1. Put AM_PATH_PYTHON(2.2) inside configure.in
  2. Put your library file (_htsearch.so) in your bin_PROGRAMS list
  3. Put -shared in the LDFLAGS: _htsearch_so_LDFLAGS = -shared
  4. Cross fingers, aclocal, autoconf, automake, ./configure, and build ...

Py Parlour Press becoming a bit of a Python portal

Dean Goodmanson drops a reminder to go visit PyZine.com: With the additions of weblogs to Py Parlour Press’s site, and it’s news aggregator window of Python blogging with SpycyRoll, www.PyZine.com has become a cozy coffee-shop of a portal for the Python community.

← Previous - Next →