forked from ChaoningZhang/MobileSAM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
20 lines (17 loc) · 713 Bytes
/
setup.py
File metadata and controls
20 lines (17 loc) · 713 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright (c) Meta Platforms, Inc. and affiliates.
# All rights reserved.
# This source code is licensed under the license found in the
# LICENSE file in the root directory of this source tree.
from setuptools import find_packages, setup
setup(
name="mobile_sam",
version="1.0+f2",
install_requires=["torchpack", "onnx", "onnxsim", "opencv-python"],
packages=find_packages(exclude="notebooks"),
package_data={'mobile_sam_v2': ['ultralytics/*/cfg/*.yaml', 'ultralytics/models/*/*.yaml']},
include_package_data=True,
extras_require={
"all": ["matplotlib", "pycocotools", "opencv-python", "onnx", "onnxruntime"],
"dev": ["flake8", "isort", "black", "mypy"],
},
)