setup.py 559 B

123456789101112131415161718
  1. # Copyright (c) Meta Platforms, Inc. and affiliates.
  2. # All rights reserved.
  3. # This source code is licensed under the license found in the
  4. # LICENSE file in the root directory of this source tree.
  5. from setuptools import find_packages, setup
  6. setup(
  7. name="segment_anything",
  8. version="1.0",
  9. install_requires=[],
  10. packages=find_packages(exclude="notebooks"),
  11. extras_require={
  12. "all": ["matplotlib", "pycocotools", "opencv-python", "onnx", "onnxruntime"],
  13. "dev": ["flake8", "isort", "black", "mypy"],
  14. },
  15. )