mirror of
https://github.com/frappe/bench.git
synced 2025-01-10 09:02:10 +00:00
chore: show PYPI message as warning
This commit is contained in:
parent
8972a06fd6
commit
5dd3f5ce12
@ -19,8 +19,7 @@ def cli():
|
|||||||
change_uid()
|
change_uid()
|
||||||
|
|
||||||
if is_dist_editable("bench"):
|
if is_dist_editable("bench"):
|
||||||
log("bench is installed in editable mode!")
|
log("bench is installed in editable mode!\n\nThis is not the recommended mode of install for production. Use the PYPI package using `pip install frappe-bench` instead\n", level=3)
|
||||||
print("Install bench via PYPI for production instead, using `pip install frappe-bench`")
|
|
||||||
|
|
||||||
if len(sys.argv) > 2 and sys.argv[1] == "frappe":
|
if len(sys.argv) > 2 and sys.argv[1] == "frappe":
|
||||||
return old_frappe_cli()
|
return old_frappe_cli()
|
||||||
|
Loading…
Reference in New Issue
Block a user