mirror of
https://github.com/dptech-corp/Uni-Lab-OS.git
synced 2026-02-07 07:25:15 +00:00
修复conda下exe无法执行的bug
This commit is contained in:
@@ -7,6 +7,10 @@ source:
|
|||||||
target_directory: unilabos
|
target_directory: unilabos
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
python:
|
||||||
|
entry_points:
|
||||||
|
- unilab = unilabos.app.main:main
|
||||||
|
- unilab-register = unilabos.app.register:main
|
||||||
script:
|
script:
|
||||||
- set PIP_NO_INDEX=
|
- set PIP_NO_INDEX=
|
||||||
- if: win
|
- if: win
|
||||||
@@ -14,13 +18,13 @@ build:
|
|||||||
- copy %RECIPE_DIR%\..\MANIFEST.in %SRC_DIR%
|
- copy %RECIPE_DIR%\..\MANIFEST.in %SRC_DIR%
|
||||||
- copy %RECIPE_DIR%\..\setup.cfg %SRC_DIR%
|
- copy %RECIPE_DIR%\..\setup.cfg %SRC_DIR%
|
||||||
- copy %RECIPE_DIR%\..\setup.py %SRC_DIR%
|
- copy %RECIPE_DIR%\..\setup.py %SRC_DIR%
|
||||||
- python -m pip install %SRC_DIR%
|
- call %PYTHON% -m pip install %SRC_DIR%
|
||||||
- if: unix
|
- if: unix
|
||||||
then:
|
then:
|
||||||
- cp $RECIPE_DIR/../MANIFEST.in $SRC_DIR
|
- cp $RECIPE_DIR/../MANIFEST.in $SRC_DIR
|
||||||
- cp $RECIPE_DIR/../setup.cfg $SRC_DIR
|
- cp $RECIPE_DIR/../setup.cfg $SRC_DIR
|
||||||
- cp $RECIPE_DIR/../setup.py $SRC_DIR
|
- cp $RECIPE_DIR/../setup.py $SRC_DIR
|
||||||
- python -m pip install $SRC_DIR
|
- $PYTHON -m pip install $SRC_DIR
|
||||||
|
|
||||||
|
|
||||||
requirements:
|
requirements:
|
||||||
|
|||||||
Reference in New Issue
Block a user