File tree Expand file tree Collapse file tree 4 files changed +3844
-628
lines changed Expand file tree Collapse file tree 4 files changed +3844
-628
lines changed Original file line number Diff line number Diff line change 11# === USER PARAMETERS
22
33ifdef OS
4- export PYTHON_COMMAND =python
5- export UV_INSTALL_CMD=powershell -c "irm https ://astral.sh/uv/install.ps1 | iex"
64 export VENV_BIN =.venv/Scripts
75else
8- export PYTHON_COMMAND =python3.12
9- export UV_INSTALL_CMD=curl -LsSf https ://astral.sh/uv/install.sh | sh
106 export VENV_BIN =.venv/bin
117endif
128
13- export SRC_DIR =ml3_platform_docs
14-
15- DEPLOY_ENVIRONMENT =$(shell if [ $(findstring main, $(BRANCH_NAME ) ) ]; then \
16- echo 'prod'; \
17- elif [ $(findstring pre, $(BRANCH_NAME ) ) ]; then \
18- echo 'pre'; \
19- else \
20- echo 'dev'; \
21- fi)
22- # If use deploy_environment in the tag system
23- # `y` => yes
24- # `n` => no
25- USE_DEPLOY_ENVIRONMENT =n
26-
279# == SETUP REPOSITORY AND DEPENDENCIES
2810
29- install-uv :
30- # install uv package manager
31- $(UV_INSTALL_CMD )
32- # create environment
33- uv venv -p $(PYTHON_COMMAND )
34-
35- compile :
36- # install extra dev group
37- uv pip compile pyproject.toml -o requirements.txt --extra dev --cache-dir .uv_cache
38-
39- install :
40- uv pip sync requirements.txt --cache-dir .uv_cache
11+ dev-sync :
12+ uv sync --cache-dir .uv_cache --all-extras
4113
42- setup : install-uv compile install
14+ setup : dev-sync
4315
4416build-docs :
4517 . $(VENV_BIN ) /activate && mkdocs build
Original file line number Diff line number Diff line change 1- [build-system ]
2- requires = [" setuptools >= 61.0" ]
3- build-backend = " setuptools.build_meta"
4-
51[project ]
62name = " ml3-platform-docs"
73version = " 0.0.1"
@@ -23,7 +19,7 @@ dependencies = [
2319 " pandas" ,
2420]
2521
26- [project . optional-dependencies ]
22+ [dependency-groups ]
2723dev = [
2824 " ml3-platform-sdk==0.0.22" ,
2925 " polars>=0.19.3" ,
You can’t perform that action at this time.
0 commit comments