`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>
pull/13110/head v8.2.21
Glenn Jocher 6 months ago committed by GitHub
parent 654c37f09b
commit d7bbfa42ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/workflows/publish.yml
  2. 1
      docs/mkdocs_github_authors.yaml
  3. 2
      pyproject.toml
  4. 2
      ultralytics/__init__.py
  5. 4
      ultralytics/engine/exporter.py

@ -19,7 +19,7 @@ jobs:
publish:
if: github.repository == 'ultralytics/ultralytics' && github.actor == 'glenn-jocher'
name: Publish
runs-on: ubuntu-latest
runs-on: macos-14
steps:
- name: Checkout code
uses: actions/checkout@v4

@ -28,3 +28,4 @@ priytosh.revolution@live.com: priytosh-tripathi
shuizhuyuanluo@126.com: null
stormsson@users.noreply.github.com: stormsson
xinwang614@gmail.com: GreatV
andrei.kochin@intel: andrei-kochin

@ -139,7 +139,7 @@ ultralytics = "ultralytics.cfg:entrypoint"
# Tools settings -------------------------------------------------------------------------------------------------------
[tool.setuptools] # configuration specific to the `setuptools` build backend.
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]
version = { attr = "ultralytics.__version__" }

@ -1,6 +1,6 @@
# Ultralytics YOLO 🚀, AGPL-3.0 license
__version__ = "8.2.20"
__version__ = "8.2.21"
from ultralytics.data.explorer.explorer import Explorer
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
"onnxruntime-gpu" if cuda else "onnxruntime",
),
cmds="--extra-index-url https://pypi.ngc.nvidia.com",
) # onnx_graphsurgeon only on NVIDIA
cmds="--extra-index-url https://pypi.ngc.nvidia.com", # onnx_graphsurgeon only on NVIDIA
)
LOGGER.info(f"\n{prefix} starting export with tensorflow {tf.__version__}...")
check_version(

Loading…
Cancel
Save