Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

pyproject.toml 5.3 KB

You have to be logged in to leave a comment. Sign In
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
  1. # Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license
  2. # Overview:
  3. # This pyproject.toml file manages the build, packaging, and distribution of the Ultralytics library.
  4. # It defines essential project metadata, dependencies, and settings used to develop and deploy the library.
  5. # Key Sections:
  6. # - [build-system]: Specifies the build requirements and backend (e.g., setuptools, wheel).
  7. # - [project]: Includes details like name, version, description, authors, dependencies and more.
  8. # - [project.optional-dependencies]: Provides additional, optional packages for extended features.
  9. # - [tool.*]: Configures settings for various tools (pytest, yapf, etc.) used in the project.
  10. # Installation:
  11. # The Ultralytics library can be installed using the command: 'pip install ultralytics'
  12. # For development purposes, you can install the package in editable mode with: 'pip install -e .'
  13. # This approach allows for real-time code modifications without the need for re-installation.
  14. # Documentation:
  15. # For comprehensive documentation and usage instructions, visit: https://docs.ultralytics.com
  16. [build-system]
  17. requires = ["setuptools>=43.0.0", "wheel"]
  18. build-backend = "setuptools.build_meta"
  19. # Project settings -----------------------------------------------------------------------------------------------------
  20. [project]
  21. version = "7.0.0"
  22. name = "YOLOv5"
  23. description = "Ultralytics YOLOv5 for SOTA object detection, instance segmentation and image classification."
  24. readme = "README.md"
  25. requires-python = ">=3.8"
  26. license = { "text" = "AGPL-3.0" }
  27. keywords = ["machine-learning", "deep-learning", "computer-vision", "ML", "DL", "AI", "YOLO", "YOLOv3", "YOLOv5", "YOLOv8", "HUB", "Ultralytics"]
  28. authors = [
  29. { name = "Glenn Jocher" },
  30. { name = "Ayush Chaurasia" },
  31. { name = "Jing Qiu" }
  32. ]
  33. maintainers = [
  34. { name = "Glenn Jocher" },
  35. { name = "Ayush Chaurasia" },
  36. { name = "Jing Qiu" }
  37. ]
  38. classifiers = [
  39. "Development Status :: 4 - Beta",
  40. "Intended Audience :: Developers",
  41. "Intended Audience :: Education",
  42. "Intended Audience :: Science/Research",
  43. "License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
  44. "Programming Language :: Python :: 3",
  45. "Programming Language :: Python :: 3.8",
  46. "Programming Language :: Python :: 3.9",
  47. "Programming Language :: Python :: 3.10",
  48. "Programming Language :: Python :: 3.11",
  49. "Topic :: Software Development",
  50. "Topic :: Scientific/Engineering",
  51. "Topic :: Scientific/Engineering :: Artificial Intelligence",
  52. "Topic :: Scientific/Engineering :: Image Recognition",
  53. "Operating System :: POSIX :: Linux",
  54. "Operating System :: MacOS",
  55. "Operating System :: Microsoft :: Windows",
  56. ]
  57. # Required dependencies ------------------------------------------------------------------------------------------------
  58. dependencies = [
  59. "matplotlib>=3.3.0",
  60. "numpy>=1.22.2",
  61. "opencv-python>=4.6.0",
  62. "pillow>=7.1.2",
  63. "pyyaml>=5.3.1",
  64. "requests>=2.23.0",
  65. "scipy>=1.4.1",
  66. "torch>=1.8.0",
  67. "torchvision>=0.9.0",
  68. "tqdm>=4.64.0", # progress bars
  69. "psutil", # system utilization
  70. "py-cpuinfo", # display CPU info
  71. "thop>=0.1.1", # FLOPs computation
  72. "pandas>=1.1.4",
  73. "seaborn>=0.11.0", # plotting
  74. "packaging", # general utilities
  75. "ultralytics>=8.2.64"
  76. ]
  77. # Optional dependencies ------------------------------------------------------------------------------------------------
  78. [project.optional-dependencies]
  79. dev = [
  80. "ipython",
  81. "check-manifest",
  82. "pytest",
  83. "pytest-cov",
  84. "coverage[toml]",
  85. "mkdocs-material",
  86. "mkdocstrings[python]",
  87. "mkdocs-ultralytics-plugin>=0.0.34", # for meta descriptions and images, dates and authors
  88. ]
  89. export = [
  90. "onnx>=1.12.0", # ONNX export
  91. "coremltools>=7.0; platform_system != 'Windows'", # CoreML only supported on macOS and Linux
  92. "openvino-dev>=2023.0", # OpenVINO export
  93. "tensorflow>=2.0.0,<=2.19.0", # TF bug https://github.com/ultralytics/ultralytics/issues/5161
  94. "tensorflowjs>=3.9.0", # TF.js export, automatically installs tensorflow
  95. ]
  96. # tensorflow>=2.4.1,<=2.13.1 # TF exports (-cpu, -aarch64, -macos)
  97. # tflite-support # for TFLite model metadata
  98. # scikit-learn==0.19.2 # CoreML quantization
  99. # nvidia-pyindex # TensorRT export
  100. # nvidia-tensorrt # TensorRT export
  101. logging = [
  102. "comet", # https://docs.ultralytics.com/integrations/comet/
  103. "tensorboard>=2.13.0",
  104. "dvclive>=2.12.0",
  105. ]
  106. extra = [
  107. "ipython", # interactive notebook
  108. "albumentations>=1.0.3", # training augmentations
  109. "pycocotools>=2.0.6", # COCO mAP
  110. ]
  111. [project.urls]
  112. "Bug Reports" = "https://github.com/ultralytics/yolov5/issues"
  113. "Funding" = "https://ultralytics.com"
  114. "Source" = "https://github.com/ultralytics/yolov5/"
  115. # Tools settings -------------------------------------------------------------------------------------------------------
  116. [tool.pytest]
  117. norecursedirs = [".git", "dist", "build"]
  118. addopts = "--doctest-modules --durations=30 --color=yes"
  119. [tool.isort]
  120. line_length = 120
  121. multi_line_output = 0
  122. [tool.ruff]
  123. line-length = 120
  124. [tool.docformatter]
  125. wrap-summaries = 120
  126. wrap-descriptions = 120
  127. in-place = true
  128. pre-summary-newline = true
  129. close-quotes-on-newline = true
  130. [tool.codespell]
  131. ignore-words-list = "crate,nd,strack,dota,ane,segway,fo,gool,winn,commend"
  132. skip = '*.csv,*venv*,docs/??/,docs/mkdocs_??.yml'
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...