~facundo/encuentro/trunk

« back to all changes in this revision

Viewing changes to bin/encuentro

  • Committer: Facundo Batista
  • Date: 2011-12-15 02:33:15 UTC
  • Revision ID: facundo@taniquetil.com.ar-20111215023315-7gt4dg0dueklpqto
Show version number.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    project_basedir = os.path.abspath(os.path.dirname(os.path.dirname(
34
34
                                            os.path.realpath(sys.argv[0]))))
35
35
 
 
36
# first of all, show the versions
 
37
print "Running Python %s on %r" % (sys.version_info, sys.platform)
 
38
version_file = os.path.join(project_basedir, 'version.txt')
 
39
print "Encuentro: v. %s" % (open(version_file).read().strip(),)
 
40
 
36
41
if project_basedir not in sys.path:
37
42
    sys.path.insert(0, project_basedir)
38
43