install rife directly from PyPI; changed setuptools to pdm

This commit is contained in:
k4yt3x 2022-02-27 02:39:48 +00:00
parent 0b154a715c
commit 8cb64d3b70
2 changed files with 4 additions and 8 deletions

View File

@ -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
@ -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

View File

@ -24,7 +24,7 @@ Last Modified: February 16, 2022
# 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