diff options
author | Arun Isaac | 2023-12-30 09:11:05 +0000 |
---|---|---|
committer | Arun Isaac | 2024-01-02 13:40:56 +0000 |
commit | 26f17e7fff8d78ebb10528456fdbb9dee67c24d1 (patch) | |
tree | 56aaeab5a21094e83f85107ff792c8bc7ef92e5a | |
parent | ee27a5b0e0abcb08ce54fd41a5098522a812f8bd (diff) | |
download | genenetwork2-26f17e7fff8d78ebb10528456fdbb9dee67c24d1.tar.gz |
Do not read version from separate file.
There is not much use having a separate version file. Besides, not
having a separate file saves us all the trouble of dealing with the
path to that file.
l--------- | VERSION | 1 | ||||
-rw-r--r-- | etc/VERSION | 1 | ||||
-rw-r--r-- | etc/default_settings.py | 3 |
3 files changed, 1 insertions, 4 deletions
diff --git a/VERSION b/VERSION deleted file mode 120000 index a9a7884c..00000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -etc/VERSION
\ No newline at end of file diff --git a/etc/VERSION b/etc/VERSION deleted file mode 100644 index a4320e6f..00000000 --- a/etc/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.11-rc2 diff --git a/etc/default_settings.py b/etc/default_settings.py index f54cab7c..c49a3c25 100644 --- a/etc/default_settings.py +++ b/etc/default_settings.py @@ -24,8 +24,7 @@ import os import sys -with open("etc/VERSION", "r") as version_file: - GN_VERSION = version_file.read() +GN_VERSION = "2.11-rc2" SECRET_KEY = "" |