@@ -8,7 +8,7 @@ include check.mk
88# Python interpreter
99PYTHON = python
1010PYTEST = pytest
11- POETRY = poetry
11+ UV = uv
1212
1313# #######################################################################################################################
1414# DEVELOPMENT ENVIRONMENT
@@ -17,58 +17,58 @@ POETRY = poetry
1717.PHONY : setup
1818setup : # # Install core dependencies
1919 @echo " Installing SyGra core dependencies"
20- $(POETRY ) install --no-interaction --no-root --without dev,ui
20+ $(UV ) sync
2121
2222.PHONY : setup-all
2323setup-all : # # Install core and extra dependencies
2424 @echo " Installing SyGra Core and extra dependencies"
25- $(POETRY ) install --no-interaction --no-root --without dev
25+ $(UV ) sync --extra ui
2626
2727.PHONY : setup-ui
2828setup-ui : # # Install development dependencies
2929 @echo " Installing SyGra UI dependencies"
30- $(POETRY ) install --no-interaction --no-root --without dev
30+ $(UV ) sync --extra ui
3131
3232.PHONY : setup-dev
3333setup-dev : # # Install development dependencies
3434 @echo " Installing SyGra Core, Extra and Development dependencies"
35- $(POETRY ) install --no-interaction --no-root
35+ $(UV ) sync --extra dev --extra ui
3636
3737# #######################################################################################################################
3838# TESTING
3939# #######################################################################################################################
4040
4141.PHONY : test
4242test : # # Run tests
43- $(POETRY ) run $(PYTEST )
43+ $(UV ) run $(PYTEST )
4444
4545.PHONY : test-verbose
4646test-verbose : # # Run tests in verbose mode
47- $(POETRY ) run $(PYTEST ) -v
47+ $(UV ) run $(PYTEST ) -v
4848
4949.PHONY : test-coverage
5050test-coverage : # # Run tests with coverage
51- $(POETRY ) run $(PYTEST ) --cov=sygra --cov-report=term --cov-report=xml
51+ $(UV ) run $(PYTEST ) --cov=sygra --cov-report=term --cov-report=xml
5252
5353# #######################################################################################################################
5454# DOCUMENTATION
5555# #######################################################################################################################
5656
5757.PHONY : docs
5858docs : # # Generate documentation
59- $(POETRY ) run mkdocs build --strict
59+ $(UV ) run mkdocs build --strict
6060
6161.PHONY : docs-serve
6262docs-serve : # # Serve documentation locally
63- $(POETRY ) run mkdocs serve
63+ $(UV ) run mkdocs serve
6464
6565# #######################################################################################################################
6666# BUILDING & PUBLISHING
6767# #######################################################################################################################
6868
6969.PHONY : build
7070build : # # Build package
71- $(POETRY ) build
71+ $(UV ) run $( PYTHON ) -m build
7272
7373.PHONY : clean
7474clean : # # Clean build artifacts
@@ -84,4 +84,4 @@ clean: ## Clean build artifacts
8484ci : check-format check-lint test # # Run CI tasks (format, lint, test)
8585
8686# Default target
87- .DEFAULT_GOAL := help
87+ .DEFAULT_GOAL := help
0 commit comments