-
Notifications
You must be signed in to change notification settings - Fork 21
/
setup.py
44 lines (41 loc) · 1.21 KB
/
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python3
import os
import setuptools
from distutils.core import setup
with open("README.md") as f:
long_description = f.read()
with open(os.path.join("hugsvision", "version.txt")) as f:
version = f.read().strip()
setup(
name = "hugsvision",
version = version,
description = "A easy to use huggingface wrapper for computer vision.",
long_description = long_description,
long_description_content_type = "text/markdown",
author = "Yanis Labrak & Others",
author_email = "yanis.labrak@univ-avignon.fr",
packages = setuptools.find_packages(),
package_data = {
"hugsvision": [
"version.txt"
]
},
install_requires = [
"torch",
"torchvision",
"torchmetrics",
"Pillow",
"scikit-learn",
"transformers",
"tqdm",
"tabulate",
"timm",
"matplotlib",
"opencv-python",
"pytorch-lightning",
"pycocotools",
],
python_requires = ">=3.6",
url = "https://HugsVision.github.io/",
keywords = ["python","transformers","huggingface","wrapper","toolkit","computer vision","easy","computer","vision"],
)