| """ |
| Setup script for VINE HuggingFace Interface |
| """ |
|
|
| from setuptools import setup |
|
|
| 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", |
| |
| py_modules=[ |
| "vine_config", |
| "vine_model", |
| "vine_pipeline", |
| "vis_utils", |
| "flattening", |
| "convert_inference", |
| ], |
| |
| 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": [ |
| |
| |
| ], |
| }, |
| entry_points={ |
| "console_scripts": [ |
| "vine-push-to-hub=vine_hf.push_to_hub:main", |
| ], |
| }, |
| ) |
|
|