Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjoliver committed Nov 19, 2020
1 parent eb29aa8 commit 82273e7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cylc/flow/scripts/cylc.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ def get_version(long=False):
"""Return version string, and (if long is True) install location.
The install location returned is the top directory of the virtual
environment. This works for normal pip and conda installations
but not for "pip install -e ." because of the source links.
environment, obtained from the Python executable path. (cylc-flow file
locations are buried deep in the library and don't always give the right
result, e.g. if installed with `pip install -e .`).
"""
version = f"{__version__}"
if long:
Expand Down

0 comments on commit 82273e7

Please sign in to comment.