-
Notifications
You must be signed in to change notification settings - Fork 28
/
setup.py
28 lines (23 loc) · 908 Bytes
/
setup.py
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
from setuptools import setup, find_namespace_packages
import platform
DEPENDENCY_LINKS = []
if platform.system() == "Windows":
DEPENDENCY_LINKS.append("https://download.pytorch.org/whl/torch_stable.html")
def fetch_requirements(filename):
with open(filename) as f:
return [ln.strip() for ln in f.read().split("\n")]
setup(
name="bliva",
version="1.0.0",
description="BLIVA",
long_description=open("README.md", "r", encoding="utf-8").read(),
long_description_content_type="text/markdown",
keywords="Vision-Language, Multimodal, Image Captioning, Generative AI, Deep Learning, Library, PyTorch",
license="3-Clause BSD",
packages=find_namespace_packages(include="bliva.*"),
install_requires=fetch_requirements("requirements.txt"),
python_requires=">=3.7.0",
include_package_data=True,
dependency_links=DEPENDENCY_LINKS,
zip_safe=False,
)