aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-04-04 03:43:52 +0000
committerlloyd <[email protected]>2011-04-04 03:43:52 +0000
commit3b9bfbd07c3723662832caf5b1efe04de28b656d (patch)
treeee2a9324f384efead6e5bb87ac8374e7e8734c90 /configure.py
parent04db054f1ae8de572ee9c0cfe227e76f84096bd6 (diff)
Convert most of the documentation to reStructured Text, adding
a makefile to build it with Sphinx (http://sphinx.pocoo.org/). Previously credits.txt listed public domain code sources; instead directly credit the authors in the relevant files and delete that file. Drop the draft FIPS 140 security policy; I can't imagine FIPS 140 validation will ever happen, and if it does, I don't want anything to do with it. Also drop the internals doc, which was so out of date (and incomplete) as to be worthless. Move the tutorials and InSiTo pdfs into old/ for the time being, until anything relevant from them can be filtered out and converted into RST.
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py18
1 files changed, 12 insertions, 6 deletions
diff --git a/configure.py b/configure.py
index 7858c7464..d773244df 100755
--- a/configure.py
+++ b/configure.py
@@ -30,6 +30,12 @@ import getpass
import time
import errno
+# Avoid useless botan_version.pyc (Python 2.6 or higher)
+if 'dont_write_bytecode' in sys.__dict__:
+ sys.dont_write_bytecode = True
+
+import botan_version
+
from optparse import (OptionParser, OptionGroup,
IndentedHelpFormatter, SUPPRESS_HELP)
@@ -41,13 +47,13 @@ class BuildConfigurationInformation(object):
"""
Version information
"""
- version_major = 1
- version_minor = 9
- version_patch = 16
- version_so_patch = 16
- version_suffix = '-dev'
+ version_major = botan_version.major
+ version_minor = botan_version.minor
+ version_patch = botan_version.patch
+ version_so_patch = botan_version.so_patch
+ version_suffix = botan_version.release_suffix
- version_datestamp = 0
+ version_datestamp = botan_version.datestamp
version_string = '%d.%d.%d%s' % (
version_major, version_minor, version_patch, version_suffix)