File size: 1,941 Bytes
888f9e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
"""
Setup script for VINE HuggingFace Interface
"""

from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

setup(
    name="vine-hf",
    version="1.0.0",
    author="LASER Team",
    author_email="your-email@example.com",
    description="HuggingFace interface for VINE (Video Understanding with Natural Language)",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/your-username/vine-hf",
    packages=["vine_hf"],
    package_dir={"vine_hf": "."},
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
        "Programming Language :: Python :: 3.10",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
        "Topic :: Multimedia :: Video",
    ],
    python_requires=">=3.7",
    install_requires=[
        "torch>=1.9.0",
        "torchvision>=0.10.0",
        "transformers>=4.20.0",
        "opencv-python>=4.5.0",
        "pillow>=8.0.0",
        "numpy>=1.20.0",
        "huggingface-hub>=0.10.0",
        "tqdm>=4.60.0",
    ],
    extras_require={
        "dev": [
            "pytest>=6.0",
            "black>=22.0",
            "flake8>=4.0",
            "isort>=5.0",
        ],
        "segmentation": [
            # Note: SAM2 and Grounding DINO need to be installed separately
            # as they're not available on PyPI
        ],
    },
    entry_points={
        "console_scripts": [
            "vine-push-to-hub=vine_hf.push_to_hub:main",
        ],
    },
)