Skip to content

Commit

Permalink
install rife directly from PyPI; changed setuptools to pdm
Browse files Browse the repository at this point in the history
  • Loading branch information
k4yt3x committed Feb 27, 2022
1 parent 0b154a7 commit 8cb64d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
10 changes: 3 additions & 7 deletions Dockerfile.cuda
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Name: Video2X Dockerfile (CUDA)
# Creator: K4YT3X
# Date Created: February 3, 2022
# Last Modified: February 12, 2022
# Last Modified: February 26, 2022

# stage 1: build the python components into wheels
FROM docker.io/nvidia/cuda:11.6.0-runtime-ubuntu20.04 AS builder
Expand All @@ -13,12 +13,8 @@ RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3-pip python3-opencv python3-pil \
python3-dev libvulkan-dev glslang-dev glslang-tools \
build-essential swig git \
&& git config --global http.postBuffer 1048576000 \
&& git config --global https.postBuffer 1048576000 \
&& pip wheel -w /wheels \
wheel setuptools setuptools_scm \
rife-ncnn-vulkan-python@git+https://github.com/media2x/rife-ncnn-vulkan-python.git .
build-essential swig \
&& pip wheel -w /wheels wheel pdm-pep517 .

# stage 2: install wheels into the final image
FROM docker.io/nvidia/cuda:11.6.0-runtime-ubuntu20.04
Expand Down
2 changes: 1 addition & 1 deletion video2x/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

# version assignment has to precede imports to
# prevent setup.cfg from producing import errors
__version__ = "5.0.0-beta4"
__version__ = "5.0.0-beta5"

# local imports
from .video2x import Video2X
Expand Down

0 comments on commit 8cb64d3

Please sign in to comment.