File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,8 @@ clean:
45
45
rm -rf src/lightning_fabric/* /
46
46
rm -rf src/pytorch_lightning/* /
47
47
48
- test : clean
48
+ test : clean setup
49
49
# Review the CONTRIBUTING documentation for other ways to test.
50
- pip install -e . \
51
- -r requirements/pytorch/base.txt \
52
- -r requirements/fabric/base.txt \
53
- -r requirements/pytorch/test.txt \
54
50
55
51
# run tests with coverage
56
52
python -m coverage run --source src/lightning/pytorch -m pytest src/lightning/pytorch tests/tests_pytorch -v
@@ -59,18 +55,18 @@ test: clean
59
55
60
56
docs : docs-pytorch
61
57
62
- sphinx-theme :
63
- pip install -q awscli
58
+ sphinx-theme : setup
59
+ uv pip install -q awscli
64
60
mkdir -p dist/
65
61
aws s3 sync --no-sign-request s3://sphinx-packages/ dist/
66
- pip install lai-sphinx-theme -f dist/
62
+ uv pip install lai-sphinx-theme -f dist/
67
63
68
64
docs-fabric : clean sphinx-theme
69
- pip install -e .[all] --quiet -r requirements/fabric/docs.txt
65
+ uv pip install -e ' .[all]' --quiet -r requirements/fabric/docs.txt
70
66
cd docs/source-fabric && $(MAKE ) html --jobs $(nproc )
71
67
72
68
docs-pytorch : clean sphinx-theme
73
- pip install -e .[all] --quiet -r requirements/pytorch/docs.txt
69
+ uv pip install -e ' .[all]' --quiet -r requirements/pytorch/docs.txt
74
70
cd docs/source-pytorch && $(MAKE ) html --jobs $(nproc )
75
71
76
72
update :
You can’t perform that action at this time.
0 commit comments