Technology Errors

error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)

I received the error below when attempting to use easy_install to add the html5lib package on a server for a client. I assumed all of the necessary python packages were installed since easy_install was already available via python-setuptools-devel. After a quick investigation I noticed that the python-devel package was not installed. This can easily be…

Technology Insights

python introspection for unittests

Having a framework to automatically run all of your unit tests is important, but in a strongly dynamic language like Python, it can be difficult to find all of the tests to run in a batch. [nose][] makes the whole process much easier, by automatically finding all modules containing unittest.TestCase subclasses, allowing nonsubclassed simple test…