forked from frappe/bench
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "fix: force use PYPI packaged bench"
This reverts commit 74bb180.
- Loading branch information
1 parent
5e7ad22
commit cdd7d34
Showing
4 changed files
with
52 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
from bench.utils import install_checker | ||
from jinja2 import Environment, PackageLoader | ||
|
||
__version__ = "4.1.0" | ||
|
||
env = Environment(loader=PackageLoader('bench.config')) | ||
install_checker() | ||
|
||
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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters