Posts

Showing posts with the label osx

gvim cmdline OSX - macvim from the terminal

macvim doesn't seem to install a 'gvim' command. So opening files from the terminal with gvim doesn't work. Add this to your .bash_profile function gvim { /Applications/MacVim.app/Contents/MacOS/Vim -g $*; } Then you'll need to source your shell, or open new shell tabs. Or paste that line into your current shell. Then you can open your files again with OSX gvim and the terminal. aaaaaaah . Sigh of relief at being able to open files from the cmd line again :)

pygame -- better OSX support, midi virtual keyboard example, basic camera module on windows, imports in ironpython (the .NET/C# python).

Image
Some fairly exciting pygame updates... Brian has removed the dependency pygame had on pyobjc. This is important because pyobjc has become not well enough maintained for pygame. It is part of the apple supplied python, but not other versions of python commonly used on OSX. We had to make a binary of it ourselves for the last release -- because there wasn't one supplied by the maintainers. OSX pygame needs testing as a result of this change... You can download the latest auto-build from svn that passes all the unittests here: http://thorbrian.com/pygame/builds.php The midi module also works on OSX now... to go with the linux, and windows support. The above automatic builds also include the midi stuff for windows/mac. So you can attach midi devices (like keyboards, drums, guitars, synths etc) and use them to control your game (or robots). Camera update: There is now a simple implementation of the pygame.camera module on windows using the vidcap module. This is a python module t...