Skip to content

Commit e364815

Browse files
committed
Change to use uv
1 parent 4450263 commit e364815

File tree

3 files changed

+20
-44
lines changed

3 files changed

+20
-44
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ jobs:
3636

3737
- name: Install Python Dependencies
3838
run: |
39-
python -m pip install --upgrade pip setuptools --ignore-installed
40-
pip install .
41-
pip install .[develop]
39+
python -m pip install --upgrade pip setuptools uv --ignore-installed
40+
uv sync --frozen
4241
4342
- name: Build single executable
4443
run: pyinstaller FastFlix_Nix_OneFile.spec
@@ -100,9 +99,8 @@ jobs:
10099

101100
- name: Install Python Dependencies
102101
run: |
103-
python -m pip install --upgrade pip setuptools --ignore-installed
104-
pip install .
105-
pip install .[develop]
102+
python -m pip install --upgrade pip setuptools uv --ignore-installed
103+
uv sync --frozen
106104
107105
- name: Build single executable
108106
shell: cmd

.github/workflows/pythonpublish.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Install Dependencies
2424
run: |
2525
python -m pip install --upgrade pip
26-
pip install setuptools wheel twine build --upgrade
26+
pip install setuptools wheel twine build uv --upgrade
2727
2828
2929
- name: Build and Publish
@@ -32,7 +32,6 @@ jobs:
3232
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
3333

3434
run: |
35-
pip install .
36-
pip install .[develop]
35+
uv sync --frozen
3736
python -m build --wheel
3837
twine upload dist/*.whl

uv.lock

Lines changed: 14 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)