hquxmu / ai-contest

Automatically exported from code.google.com/p/ai-contest
0 stars 0 forks source link

Provide up-to-date python version (i.e. 2.7) #65

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The tournament environment only provides python 2.5 which lacks some important 
features (e.g. signal.setitimer to have accurate timout notification without 
having to resolve to polling time.time())

I've put together a script at https://gist.github.com/269523868dc79e21f75f that 
installs a independent python2.7 into /opt/python2.7 without disturbing the 
system provided python 2.5 and symlinks python2.7 and easy_install-2.7 into 
/usr/local/bin

Original issue reported on code.google.com by u.petri on 8 Sep 2010 at 2:20