switched to hatchling

This commit is contained in:
Deniz Şafak
2025-04-26 19:36:52 +03:00
parent f247924927
commit 8ce1c0e586
3 changed files with 22 additions and 19 deletions
+5 -5
View File
@@ -218,11 +218,11 @@ if errorlevel 1 (
exit /b
)
:: Install setuptools, wheel, and poetry-core
echo Installing setuptools...
%PYTHON_CONSOLE_PATH% -m pip install setuptools wheel hatchling editables --no-warn-script-location
:: Install sphinx and hatchling
echo Installing sphinx and hatchling...
%PYTHON_CONSOLE_PATH% -m pip install --upgrade sphinx hatchling --no-warn-script-location
if errorlevel 1 (
echo Failed to install setuptools.
echo Failed to install hatchling.
pause
exit /b
)
@@ -231,7 +231,7 @@ if errorlevel 1 (
echo Checking and installing project dependencies...
if exist %PYPROJECT_FILE% (
echo Installing project from pyproject.toml...
%PYTHON_CONSOLE_PATH% -m pip install -e . --no-warn-script-location
%PYTHON_CONSOLE_PATH% -m pip install . --no-warn-script-location
if errorlevel 1 (
echo Failed to install from pyproject.toml.
pause