Encouragement for virtualenv
The past few days I fell in love with virtualenv. It's a neat way to isolate a python project into a virtual python environment. That makes it easier to develop separate projects with separate library requirements (django 1.0 vs svn for example). You can also provide a simple setup script to pull in all dependencies.I will definitely use it for my Django game. However I am still uncertain how to support the Windows platform. For one, I intend to host the game on my server. I will publish the source code, and it will include a virtualenv builder. No way to test that in windows, especially since it's a shell script!
(log in to comment)
richard on 2009/08/28 22:51:
virtualenv is really neat but be warned: there are packages that don't interact well with it and either end up installing in the system location or, in the worst cases, just plain failing. In the latter case you can exit the virtualenv and install to the system Python.BTW, the undocumented magic command for exiting a virtualenv?
deactivate
The number of times I've had to search long and hard to discover that...
Also virtualenv has a tenuous relationship with "pythonw" on OS X which makes it somewhat fun to develop games under.