File size: 895 Bytes
fbaeba7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
"""Packaging for the SwiftVR inference package."""

from pathlib import Path
from setuptools import setup, find_packages

_here = Path(__file__).parent
_long_description = (_here / "README.md").read_text(encoding="utf-8") if (_here / "README.md").exists() else ""


def _read_requirements():
    reqs = []
    for line in (_here / "requirements.txt").read_text(encoding="utf-8").splitlines():
        line = line.strip()
        if line and not line.startswith("#"):
            reqs.append(line)
    return reqs


setup(
    name="swiftvr",
    version="0.1.0",
    description="One-step generative streaming real-time video restoration.",
    long_description=_long_description,
    long_description_content_type="text/markdown",
    packages=find_packages(include=["swiftvr", "swiftvr.*"]),
    python_requires=">=3.10",
    install_requires=_read_requirements(),
    license="Apache-2.0",
)