pull version number from VERSION file

This commit is contained in:
Mathieu Lacage
2007-05-18 20:48:24 +02:00
parent 418ceadc2b
commit b862b62fb9
2 changed files with 6 additions and 2 deletions

View File

@@ -2,9 +2,13 @@
import os.path
import build
version_file = open ('VERSION', 'r')
version = version_file.read (5)
version_file.close ()
ns3 = build.Ns3()
ns3.build_dir = 'build-dir'
ns3.version = '3.0.2'
ns3.version = version
ns3.name = 'ns3'
ns3.distname = 'ns'
ns3.doxygen_config = os.path.join('doc', 'doxygen.conf')

View File

@@ -1 +1 @@
3.0.1
3.0.2