Skip to content

Commit

Permalink
[query] install-editable, but using an if instead (#13775)
Browse files Browse the repository at this point in the history
  • Loading branch information
danking authored Oct 6, 2023
1 parent a593729 commit da00654
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hail/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,9 @@ upload-qob-jar: $(SHADOW_JAR)

# if the installation of Hail has changed, i.e. you pip-installed a non-development version of Hail,
# this file will be newer than "install-editable"
install-editable: $(shell pip3 show hail | grep Location: | sed 's/Location: //')/hail/__init__.py
CURRENT_INSTALL = $(shell pip3 show -qq hail | grep Location: | sed 's/Location: //')

install-editable: $(if ($(CURRENT_INSTALL),),,$(CURRENT_INSTALL)/hail/__init__.py)
install-editable: python/setup.py
install-editable: python/requirements.txt
install-editable: python/README.md
Expand Down

0 comments on commit da00654

Please sign in to comment.