Archive

Archive for June, 2010

LNK1112 and plain setup.py

June 26th, 2010 Comments off

I was scratching my head over why I couldn’t create a Windows AMD64 installer for PyMQI and even though I had Visual Studio 2008 Proffesional Edition installed I was still greeted with “LNK1112: module machine type ‘x64′ conflicts with target machine type ‘X86′”. All of the blog posts were mentioning various tweaks to nmake but that wasn’t actually helpful because I just wanted plain “python setup.py build” to work first and besides, I’m not using any makefiles.

Once again, turned out that reading the fine documentation should’ve been my first step. As you can read over there, for some unknown reason the compiler for 64-bit systems isn’t installed by default. Once I installed it, I found I could run a new “vcvarsx86_amd64.bat” command and then miraculously I could do “python setup.py build –plat-name=win-amd64 bdist_wininst” to make the installer :-)

@fourthrealm

Share
Categories: Software Tags:

Make mc remember the last directory

June 16th, 2010 Comments off

This is mostly so I don’t forget about it myself.. when installing Ubuntu, don’t forget to add this line to ~/.bashrc and have Midnight Commander remember the last directory you were in on exit instead of taking you back to the one you were in when you typed mc in the shell:

source /usr/share/mc/bin/mc.sh

@fourthrealm

Share
Categories: Software Tags:

Intro To Spring Python Slides

June 3rd, 2010 No comments

For those of you who are still wavering over whether to use Spring Python in your next project, have a look at this slidecast describing the current Spring Python project’s status, as of release 1.1, and where it’s heading to.

@fourthrealm

Share
Categories: Software Tags: