Commit 7725aa4 authored Oct 27, 2024 · 6 / 7 · Verified
File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 72
72
run : |
73
73
docker run -v ${{ github.workspace }}:/home/video_cap \
74
74
mv-extractor:local \
75
- python3.10 -m unittest discover -s tests -p "*tests.py"
75
+ python3.12 -m unittest discover -s tests -p "*tests.py"
76
76
77
77
build_and_test_wheels :
78
78
name : Build wheels for cp${{ matrix.python }}-${{ matrix.platform_id }}
Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ COPY setup.py /home/video_cap
78
78
COPY src /home/video_cap/src/
79
79
80
80
# Install Python package
81
- RUN python3.10 -m pip install .
81
+ RUN python3.12 -m pip install .
82
82
83
83
# Location of the "extract_mvs" script
84
- ENV PATH="$PATH:/opt/_internal/cpython-3.10.15 /bin"
84
+ ENV PATH="$PATH:/opt/_internal/cpython-3.12.7 /bin"
85
85
86
86
CMD ["sh" , "-c" , "tail -f /dev/null" ]
Original file line number Diff line number Diff line change @@ -86,7 +86,7 @@ Confirm that all tests pass.
86
86
87
87
If you are using the Docker image instead of the PyPI package as explained below, you can invoke the tests with
88
88
```
89
- sudo ./run.sh python3.10 -m unittest discover -s tests -p "*tests.py"
89
+ sudo ./run.sh python3.12 -m unittest discover -s tests -p "*tests.py"
90
90
```
91
91
92
92
### Importing mvextractor into Your Own Scripts
@@ -114,7 +114,7 @@ git clone https://github.com/LukasBommes/mv-extractor.git mv_extractor
114
114
115
115
Afterwards, you can run the extraction script in the ` mv_extractor ` directory as follows
116
116
```
117
- sudo ./run.sh python3.10 extract_mvs.py vid_h264.mp4 --preview --verbose
117
+ sudo ./run.sh python3.12 extract_mvs.py vid_h264.mp4 --preview --verbose
118
118
```
119
119
This pulls the prebuild Docker image from DockerHub and runs the extraction script inside the Docker container.
120
120
You can’t perform that action at this time.
0 commit comments