File tree Expand file tree Collapse file tree 6 files changed +2815
-28
lines changed
Expand file tree Collapse file tree 6 files changed +2815
-28
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,17 @@ jobs:
1616 runs-on : ubuntu-latest
1717 steps :
1818 - uses : actions/checkout@v6
19- - name : Install pypa
20- run : >-
21- pip install hatch
22- - name : Install
19+
20+ - name : Install pancdoc
2321 uses : pandoc/actions/setup@main
24- - name : Pulish
22+
23+ - name : Install uv
24+ uses : astral-sh/setup-uv@v7
25+
26+ - name : Build
2527 run : |
2628 make build
27- hatch publish -u '__token__' -a '${{ secrets.HATCH_INDEX_AUTH }}'
29+
30+ - name : Pulish
31+ run : |
32+ uv publish -t '${{ secrets.HATCH_INDEX_AUTH }}'
Original file line number Diff line number Diff line change 11build : clean readme
2- hatch build
2+ uv build
33
44clean :
55 rm -rf build dist * .egg-info
66
77help :
8- @hatch run python -m vc --help
8+ @uv run vc --help
99
1010fix :
1111 ruff check --fix
Original file line number Diff line number Diff line change @@ -23,6 +23,13 @@ pip3 install --force-reinstall -U git+https://github.com/jiacai2050/video-compre
2323
2424This will install two commands: =vc=, =video-compress=, which are identical.
2525
26+ If you prefer to use [[https://docs.astral.sh/uv/concepts/tools/][uvtool]]:
27+
28+ #+begin_src bash
29+ uv tool install Video-compress
30+ #+end_src
31+
32+
2633* Usage
2734#+begin_src bash :results verbatim :exports results
2835make help
Original file line number Diff line number Diff line change @@ -11,8 +11,7 @@ readme = "README.md"
1111keywords = [" videos" , " compress" , " ffmpeg" ]
1212license = " GPL-3.0"
1313requires-python = " >=3.6.0"
14- dependencies = [
15- ]
14+ dependencies = [ ]
1615classifiers = [
1716 " Operating System :: OS Independent" ,
1817 " Topic :: Software Development" ,
@@ -28,6 +27,9 @@ classifiers = [
2827 " Programming Language :: Python :: 3.11" ,
2928]
3029
30+ [project .optional-dependencies ]
31+ dev = [ " hatch" ]
32+
3133[project .urls ]
3234Repository = " https://github.com/jiacai2050/my-works/tree/main/video-compress"
3335Issues = " https://github.com/jiacai2050/my-works/issues"
You can’t perform that action at this time.
0 commit comments