ultralytics 8.2.21 package all tests/*.py files to PyPI (#13080)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com> Co-authored-by: Burhan <62214284+Burhan-Q@users.noreply.github.com>
This commit is contained in:
parent
654c37f09b
commit
d7bbfa42ef
5 changed files with 6 additions and 5 deletions
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
|
|
@ -19,7 +19,7 @@ jobs:
|
||||||
publish:
|
publish:
|
||||||
if: github.repository == 'ultralytics/ultralytics' && github.actor == 'glenn-jocher'
|
if: github.repository == 'ultralytics/ultralytics' && github.actor == 'glenn-jocher'
|
||||||
name: Publish
|
name: Publish
|
||||||
runs-on: ubuntu-latest
|
runs-on: macos-14
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
|
||||||
|
|
@ -28,3 +28,4 @@ priytosh.revolution@live.com: priytosh-tripathi
|
||||||
shuizhuyuanluo@126.com: null
|
shuizhuyuanluo@126.com: null
|
||||||
stormsson@users.noreply.github.com: stormsson
|
stormsson@users.noreply.github.com: stormsson
|
||||||
xinwang614@gmail.com: GreatV
|
xinwang614@gmail.com: GreatV
|
||||||
|
andrei.kochin@intel: andrei-kochin
|
||||||
|
|
|
||||||
|
|
@ -139,7 +139,7 @@ ultralytics = "ultralytics.cfg:entrypoint"
|
||||||
# Tools settings -------------------------------------------------------------------------------------------------------
|
# Tools settings -------------------------------------------------------------------------------------------------------
|
||||||
[tool.setuptools] # configuration specific to the `setuptools` build backend.
|
[tool.setuptools] # configuration specific to the `setuptools` build backend.
|
||||||
packages = { find = { where = ["."], include = ["ultralytics", "ultralytics.*"] } }
|
packages = { find = { where = ["."], include = ["ultralytics", "ultralytics.*"] } }
|
||||||
package-data = { "ultralytics" = ["**/*.yaml"], "ultralytics.assets" = ["*.jpg"] }
|
package-data = { "ultralytics" = ["**/*.yaml", "../tests/*.py"], "ultralytics.assets" = ["*.jpg"] }
|
||||||
|
|
||||||
[tool.setuptools.dynamic]
|
[tool.setuptools.dynamic]
|
||||||
version = { attr = "ultralytics.__version__" }
|
version = { attr = "ultralytics.__version__" }
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
# Ultralytics YOLO 🚀, AGPL-3.0 license
|
# Ultralytics YOLO 🚀, AGPL-3.0 license
|
||||||
|
|
||||||
__version__ = "8.2.20"
|
__version__ = "8.2.21"
|
||||||
|
|
||||||
from ultralytics.data.explorer.explorer import Explorer
|
from ultralytics.data.explorer.explorer import Explorer
|
||||||
from ultralytics.models import RTDETR, SAM, YOLO, YOLOWorld
|
from ultralytics.models import RTDETR, SAM, YOLO, YOLOWorld
|
||||||
|
|
|
||||||
|
|
@ -829,8 +829,8 @@ class Exporter:
|
||||||
"flatbuffers>=23.5.26,<100", # update old 'flatbuffers' included inside tensorflow package
|
"flatbuffers>=23.5.26,<100", # update old 'flatbuffers' included inside tensorflow package
|
||||||
"onnxruntime-gpu" if cuda else "onnxruntime",
|
"onnxruntime-gpu" if cuda else "onnxruntime",
|
||||||
),
|
),
|
||||||
cmds="--extra-index-url https://pypi.ngc.nvidia.com",
|
cmds="--extra-index-url https://pypi.ngc.nvidia.com", # onnx_graphsurgeon only on NVIDIA
|
||||||
) # onnx_graphsurgeon only on NVIDIA
|
)
|
||||||
|
|
||||||
LOGGER.info(f"\n{prefix} starting export with tensorflow {tf.__version__}...")
|
LOGGER.info(f"\n{prefix} starting export with tensorflow {tf.__version__}...")
|
||||||
check_version(
|
check_version(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue