Commit 124998c 1 parent fc864bf commit 124998c Copy full SHA for 124998c
File tree 8 files changed +5303
-4
lines changed
8 files changed +5303
-4
lines changed Original file line number Diff line number Diff line change 52
52
if : steps.cache.outputs.cache-hit != 'true'
53
53
54
54
- name : Install happypose
55
- run : pip install -e .
55
+ run : pip install -r requirements/base.txt
56
56
57
57
- name : Download pre-trained models required for tests
58
58
run : |
Original file line number Diff line number Diff line change 30
30
run : pip install -U pip
31
31
32
32
- name : Install happypose
33
- run : pip install ".[ cpu, pypi]"
33
+ run : pip install -r requirements/ cpu.txt -r requirements/ pypi.txt
34
34
35
35
- name : Download pre-trained models required for tests
36
36
run : |
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ git clone --branch dev --recurse-submodules https://github.com/agimus-project/ha
29
29
cd happypose
30
30
conda env create -f environment.yml
31
31
conda activate happypose
32
- pip install .
32
+ pip install -r requirements/base.txt
33
33
```
34
34
35
35
### Example with uv
@@ -47,7 +47,7 @@ git clone --branch dev --recurse-submodules https://github.com/agimus-project/ha
47
47
cd happypose
48
48
python -m venv .venv
49
49
source .venv/bin/activate
50
- pip install .[ cpu,pypi] # you *must* choose between cpu / cu124
50
+ pip install -r requirements/pypi.txt -r requirements/ cpu.txt # you *must* choose between cpu / cu124
51
51
```
52
52
53
53
### Install extras:
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ set -euxo pipefail
4
+
5
+ # https://stackoverflow.com/a/246128/1368502
6
+ SCRIPT_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd )
7
+
8
+ cd " ${SCRIPT_DIR} /.."
9
+
10
+ uv export > " ${SCRIPT_DIR} /base.txt"
11
+ uv export --extra cpu > " ${SCRIPT_DIR} /cpu.txt"
12
+ uv export --extra cu124 > " ${SCRIPT_DIR} /cu124.txt"
13
+ uv export --extra pypi > " ${SCRIPT_DIR} /pypi.txt"
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments