aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-19 20:44:29 -0400
committerJack Lloyd <[email protected]>2017-09-19 20:45:20 -0400
commitbf030cc24dc3636fa81195aa67cc38101d30e39f (patch)
tree8ebc440b239add20a7fbd9bc9139461970274431
parentd52c9cc9402babca9ab04e04dae149fd2c9e8465 (diff)
Rename botan_version.py to version.txt
-rwxr-xr-xconfigure.py2
-rw-r--r--doc/release_process.rst7
-rw-r--r--src/configs/sphinx/conf.py2
-rw-r--r--version.txt (renamed from botan_version.py)0
4 files changed, 5 insertions, 6 deletions
diff --git a/configure.py b/configure.py
index 7e165c5d7..08ef220a7 100755
--- a/configure.py
+++ b/configure.py
@@ -75,7 +75,7 @@ class Version(object):
def get_data():
if not Version.data:
root_dir = os.path.dirname(sys.argv[0])
- Version.data = parse_version_file(os.path.join(root_dir, 'botan_version.py'))
+ Version.data = parse_version_file(os.path.join(root_dir, 'version.txt'))
return Version.data
@staticmethod
diff --git a/doc/release_process.rst b/doc/release_process.rst
index 3aa26d4f0..0f5caafb9 100644
--- a/doc/release_process.rst
+++ b/doc/release_process.rst
@@ -28,10 +28,9 @@ Pre Release Checks
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Confirm that the release notes in ``news.rst`` are accurate and
-complete and that the version number in ``botan_version.py`` is
-correct. Update the release date in the release notes and change the
-entry for the appropriate branch in ``readme.rst`` to point to the new
-release.
+complete and that the version number in ``version.txt`` is correct.
+Update the release date in the release notes and change the entry for
+the appropriate branch in ``readme.rst`` to point to the new release.
Check in these changes (alone, with no other modifications) with a
checkin message along the lines of "Update for X.Y.Z release", then
diff --git a/src/configs/sphinx/conf.py b/src/configs/sphinx/conf.py
index 289a0eb1a..6856f371a 100644
--- a/src/configs/sphinx/conf.py
+++ b/src/configs/sphinx/conf.py
@@ -29,7 +29,7 @@ def parse_version_file(version_path):
results[match.group(1)] = ast.literal_eval(match.group(2))
return results
-version_info = parse_version_file('../../../botan_version.py')
+version_info = parse_version_file('../../../version.txt')
version_major = version_info['release_major']
version_minor = version_info['release_minor']
diff --git a/botan_version.py b/version.txt
index 311560cac..311560cac 100644
--- a/botan_version.py
+++ b/version.txt