From 70dee3c2c700ae3e74587eb2c85112934a715527 Mon Sep 17 00:00:00 2001 From: Xuwznln <18435084+Xuwznln@users.noreply.github.com> Date: Fri, 1 Aug 2025 23:17:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dconda=E4=B8=8Bexe=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E6=89=A7=E8=A1=8C=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .conda/recipe.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.conda/recipe.yaml b/.conda/recipe.yaml index 9ebf263..5f244b7 100644 --- a/.conda/recipe.yaml +++ b/.conda/recipe.yaml @@ -7,6 +7,10 @@ source: target_directory: unilabos build: + python: + entry_points: + - unilab = unilabos.app.main:main + - unilab-register = unilabos.app.register:main script: - set PIP_NO_INDEX= - if: win @@ -14,13 +18,13 @@ build: - copy %RECIPE_DIR%\..\MANIFEST.in %SRC_DIR% - copy %RECIPE_DIR%\..\setup.cfg %SRC_DIR% - copy %RECIPE_DIR%\..\setup.py %SRC_DIR% - - python -m pip install %SRC_DIR% + - call %PYTHON% -m pip install %SRC_DIR% - if: unix then: - cp $RECIPE_DIR/../MANIFEST.in $SRC_DIR - cp $RECIPE_DIR/../setup.cfg $SRC_DIR - cp $RECIPE_DIR/../setup.py $SRC_DIR - - python -m pip install $SRC_DIR + - $PYTHON -m pip install $SRC_DIR requirements: