10 lines
273 B
Python
10 lines
273 B
Python
import os
|
|
|
|
def get_version():
|
|
"""Reads the version from the VERSION file in the project root."""
|
|
version_path = os.path.join(os.path.dirname(__file__), '..', 'VERSION')
|
|
with open(version_path, 'r') as f:
|
|
return f.read().strip()
|
|
|
|
VERSION = get_version()
|