forked from vietanhdev/samexporter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 927 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
29
30
31
32
33
34
from setuptools import find_packages, setup
def get_long_description():
"""Read long description from README"""
with open("README.md", encoding="utf-8") as f:
long_description = f.read()
return long_description
setup(
name="samexporter",
version="0.2.0",
description="Exporting Segment Anything models different formats",
author="Viet Anh Nguyen",
author_email="[email protected]",
url="https://github.com/vietanhdev/samexporter",
long_description=get_long_description(),
long_description_content_type="text/markdown",
install_requires=[],
packages=find_packages(),
extras_require={
"all": [
"segment_anything",
"torch",
"torchvision",
"opencv-python",
"onnx",
"onnxruntime",
"timm",
],
"dev": ["flake8", "isort", "black", "pre-commit"],
},
)