Skip to content

Commit

Permalink
update python3
Browse files Browse the repository at this point in the history
  • Loading branch information
jimexist committed May 7, 2022
1 parent 88aa808 commit a8f351a
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions lib/py/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,26 +37,26 @@ py3-test:
endif

all-local: py3-build
$(PYTHON) setup.py build
$(PYTHON3) setup.py build
${THRIFT} --gen py test/test_thrift_file/TestServer.thrift

# We're ignoring prefix here because site-packages seems to be
# the equivalent of /usr/local/lib in Python land.
# Old version (can't put inline because it's not portable).
#$(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) $(PYTHON_SETUPUTIL_ARGS)
install-exec-hook:
$(PYTHON) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)
$(PYTHON3) setup.py install --root=$(DESTDIR) --prefix=$(PY_PREFIX) $(PYTHON_SETUPUTIL_ARGS)

check-local: all py3-test
$(PYTHON) test/thrift_json.py
$(PYTHON) test/thrift_transport.py
$(PYTHON) test/test_sslsocket.py
$(PYTHON) test/test_socket.py
$(PYTHON) test/thrift_TBinaryProtocol.py
$(PYTHON) test/thrift_TZlibTransport.py
$(PYTHON) test/thrift_TCompactProtocol.py
$(PYTHON) test/thrift_TNonblockingServer.py
$(PYTHON) test/thrift_TSerializer.py
$(PYTHON3) test/thrift_json.py
$(PYTHON3) test/thrift_transport.py
$(PYTHON3) test/test_sslsocket.py
$(PYTHON3) test/test_socket.py
$(PYTHON3) test/thrift_TBinaryProtocol.py
$(PYTHON3) test/thrift_TZlibTransport.py
$(PYTHON3) test/thrift_TCompactProtocol.py
$(PYTHON3) test/thrift_TNonblockingServer.py
$(PYTHON3) test/thrift_TSerializer.py


clean-local:
Expand Down

0 comments on commit a8f351a

Please sign in to comment.