2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-09 00:21:23 +00:00
bench/bench/__init__.py
2020-05-22 17:17:35 +05:30

10 lines
272 B
Python

VERSION = "5.1.0"
PROJECT_NAME = "frappe-bench"
FRAPPE_VERSION = None
def set_frappe_version(bench_path='.'):
from .app import get_current_frappe_version
global FRAPPE_VERSION
if not FRAPPE_VERSION:
FRAPPE_VERSION = get_current_frappe_version(bench_path=bench_path)