Skip to content

Commit

Permalink
fix: setup.py build (#735)
Browse files Browse the repository at this point in the history
* fix: setup.py build

Signed-off-by: Keming <kemingyang@tensorchord.ai>

* build release

Signed-off-by: Keming <kemingyang@tensorchord.ai>
  • Loading branch information
kemingy committed Aug 8, 2022
1 parent 1fec011 commit 3c46efc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ build-local:
pypi-build: clean
@python setup.py sdist bdist_wheel

dev: pypi-build ## install envd command for local debug
dev: clean build-local ## install envd command for local debug
@python setup.py bdist_wheel
@pip install --force-reinstall dist/*.whl

generate: mockgen-install ## Generate mocks
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
def build_envd_if_not_found():
if not os.path.exists("bin/envd"):
logging.info("envd not found. Build from scratch")
errno = subprocess.call(["make", "build"])
errno = subprocess.call(["make", "build-release"])
assert errno == 0, "Failed to build envd"


Expand Down

0 comments on commit 3c46efc

Please sign in to comment.