File tree Expand file tree Collapse file tree 2 files changed +10
-3
lines changed
engines/pyfunc-ensembler-service Expand file tree Collapse file tree 2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11SHELL := /bin/bash
22
3- PYTHON_VERSION ?= 3.8
43APP_NAME := turing-pyfunc-ensembler-service
54CONDA_ENV_NAME ?= $(APP_NAME )
65ACTIVATE_ENV = source $$(conda info --base ) /etc/profile.d/conda.sh ; conda activate $(CONDA_ENV_NAME )
76
87.PHONY : setup
98setup : build
10- @pip install pipenv
9+ @conda env update -f env.yaml -n $( CONDA_ENV_NAME ) --prune
1110 @DIST_VERSION=$$(echo $(VERSION ) | \
1211 sed -E ' s/^v([0-9]+\.[0-9]+\.[0-9]+)(-rc([0-9]+))?/\1rc\3/' ); \
13- pipenv run pip install " dist/turing_pyfunc_ensembler_service-$$ {DIST_VERSION}-py3-none-any.whl[dev]"
12+ $( ACTIVATE_ENV ) && pip install " dist/turing_pyfunc_ensembler_service-$$ {DIST_VERSION}-py3-none-any.whl[dev]"
1413
1514.PHONY : lint
1615lint :
Original file line number Diff line number Diff line change 1+ name : pyfunc-ensembler-service
2+ dependencies :
3+ - python=3.10.*
4+ - pip=22.2.2
5+ - pip :
6+ - -r requirements.txt
7+ - --extra-index-url=https://test.pypi.org/simple
8+ - --trusted-host=test.pypi.org
You can’t perform that action at this time.
0 commit comments