Skip to content

Commit cb1f003

Browse files
committed
chore: fix build on py36
To build nebula-python in py36, we have to call python setup.py install Note, the wheel built now in Nebula-Python could be installed with pip install <file>.whl
1 parent b53554b commit cb1f003

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,10 @@ install-deps:
4848

4949
install-nebula-py: install-deps
5050
git clone --branch master https://github.com/vesoft-inc/nebula-python $(CURR_DIR)/nebula-python
51+
export PIP_EXTRA_INDEX_URL=$(PYPI_MIRROR)
52+
export PIP_TRUSTED_HOST=$(PYPI_MIRROR)
5153
cd $(CURR_DIR)/nebula-python \
52-
&& pip3 install --user . -i $(PYPI_MIRROR) --upgrade
54+
&& if [ $(PY_VERSION) -eq 6 ]; then python3 setup.py install; else pip3 install --user . -i $(PYPI_MIRROR) --upgrade; fi
5355
rm -rf $(CURR_DIR)/nebula-python
5456

5557
gherkin-fmt: install-deps

0 commit comments

Comments
 (0)