💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Add ability to specify python version in Makefile
davidmezzettib376fb77cd9b
diff --git a/.travis.yml b/.travis.ymlindex 34ec7bb3..f075bf77 100644--- a/.travis.yml+++ b/.travis.yml@@ -13,7 +13,7 @@ matrix:- python3 --versionscript:- pip3 install .- - make test+ - make PYTHON=python3 test- name: "Windows"os: windowslanguage: shelldiff --git a/Makefile b/Makefileindex c30afd89..cef6045b 100644--- a/Makefile+++ b/Makefile@@ -7,6 +7,9 @@ export TEST_DIR := ./test/pythonexport PYTHONPATH := ${SRC_DIR}:${TEST_DIR}:${PYTHONPATH}export PATH := ${TEST_DIR}:${PATH}+# Default python executable if not provided+PYTHON ?= python+# Unit teststest:- python -W ignore::DeprecationWarning -m unittest discover -v -s ${TEST_DIR}+ ${PYTHON} -W ignore::DeprecationWarning -m unittest discover -v -s ${TEST_DIR}