Add tests directory to package for Conda builds (#20365)
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
parent
df03ddc266
commit
a7c57ee968
@ -133,7 +133,8 @@ 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", "**/*.sh"], "ultralytics.assets" = ["*.jpg"] }
|
||||
# Tests included below for checking Conda builds in https://github.com/conda-forge/ultralytics-feedstock
|
||||
package-data = { "ultralytics" = ["**/*.yaml", "**/*.sh", "../tests/*.py"], "ultralytics.assets" = ["*.jpg"] }
|
||||
|
||||
[tool.setuptools.dynamic]
|
||||
version = { attr = "ultralytics.__version__" }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user