-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathversion.py
More file actions
30 lines (24 loc) · 918 Bytes
/
version.py
File metadata and controls
30 lines (24 loc) · 918 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""
ABOUTME: Version information for Redd-Archiver Archive Generator
ABOUTME: Provides version string, version tuple, and release metadata
"""
__version__ = "1.0.0"
__version_info__ = (1, 0, 0)
__release_date__ = "2025-11-30"
__release_codename__ = "Production Release"
# Compatibility information
MIN_PYTHON_VERSION = (3, 10)
MIN_POSTGRESQL_VERSION = (12, 0)
def get_version_string():
"""Return formatted version string with release information"""
return f"reddarc {__version__} ({__release_codename__})"
def get_full_version_info():
"""Return complete version information as dictionary"""
return {
"version": __version__,
"version_info": __version_info__,
"release_date": __release_date__,
"codename": __release_codename__,
"min_python": ".".join(map(str, MIN_PYTHON_VERSION)),
"min_postgresql": ".".join(map(str, MIN_POSTGRESQL_VERSION)),
}