--- a/src/SConscript
+++ b/src/SConscript
@@ -1,4 +1,4 @@
-import os, sys
+import sys
 
 media_env = Environment()
 conf = Configure(media_env)
@@ -11,19 +11,10 @@
 
 media_env.SetDefault(PREFIX = '/usr/local')
 
-vstring = None
-appinfo = open('../AppInfo.xml', 'r')
-for l in appinfo:
-    l = l.strip()
-    if l.startswith('<Version>'):
-        vstring = l.replace('<Version>', '').replace('</Version>', '')
-        break
-
 media_env.ParseConfig('pkg-config --cflags --libs ' \
         'gconf-2.0 gdu gtk+-2.0 gdk-pixbuf-2.0')
 media_env.Append(CFLAGS = ['-DGDU_API_IS_SUBJECT_TO_CHANGE',
         '-DGDU_GTK_API_IS_SUBJECT_TO_CHANGE'])
 media_env.Append(CFLAGS = ['-Wall', '-g'])
 media_env.Append(CFLAGS = [r'-DPREFIX=\"$PREFIX\"'])
-media_env.Append(CFLAGS = [r'-DVERSION_STRING=\"%s\"' % vstring])
 media_env.Program('rox-media', Glob('*.c'))