移除post-link脚本,更新构建配置以支持多平台构建,调整依赖项以适应不同操作系统。

This commit is contained in:
Xuwznln
2025-08-01 22:27:59 +08:00
parent 7b408127d1
commit d6b96db2a4
4 changed files with 46 additions and 23 deletions

View File

@@ -7,7 +7,6 @@ source:
target_directory: unilabos
build:
noarch: python
script:
- set PIP_NO_INDEX=
- if: win
@@ -33,8 +32,10 @@ requirements:
- conda-forge::python ==3.11.11
- compilers
- cmake
- make
- ninja
- if: unix
then:
- make
- sphinx
- sphinx_rtd_theme
- numpy

View File

@@ -1,9 +0,0 @@
@echo off
setlocal enabledelayedexpansion
REM upgrade pip
"%PREFIX%\python.exe" -m pip install --upgrade pip
REM install extra deps
"%PREFIX%\python.exe" -m pip install paho-mqtt opentrons_shared_data
"%PREFIX%\python.exe" -m pip install git+https://github.com/Xuwznln/pylabrobot.git

View File

@@ -1,9 +0,0 @@
#!/usr/bin/env bash
set -euxo pipefail
# make sure pip is available
"$PREFIX/bin/python" -m pip install --upgrade pip
# install extra deps
"$PREFIX/bin/python" -m pip install paho-mqtt opentrons_shared_data
"$PREFIX/bin/python" -m pip install git+https://github.com/Xuwznln/pylabrobot.git