From 49b954ac1d4dbb2b7847a8f04d4809ca808c24f7 Mon Sep 17 00:00:00 2001 From: Matt Dawkins Date: Tue, 27 Jan 2026 11:07:11 -0500 Subject: [PATCH] chore: remove unused runtime deps and fix project URLs Remove dependencies that are not imported or are dev-only: - cryptography: never imported anywhere in the codebase - cython: no .pyx files exist; build-time dep at best - Pillow: `from PIL import Image` is commented out - sphinx-click: documentation extension, not needed at runtime - line_profiler: profiling tool, not needed at runtime Also fix truncated project URLs in setup.cfg metadata: - url: https://github.com/Kitware -> https://github.com/Kitware/batbot - Source: https://github.com/Kitware -> https://github.com/Kitware/batbot Co-Authored-By: Claude Opus 4.5 --- requirements/runtime.txt | 5 ----- setup.cfg | 9 ++------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/requirements/runtime.txt b/requirements/runtime.txt index 9f94278..a309a2f 100644 --- a/requirements/runtime.txt +++ b/requirements/runtime.txt @@ -1,16 +1,11 @@ click -cryptography -cython librosa -line_profiler matplotlib numpy opencv-python-headless -Pillow pooch pyastar2d @ git+https://github.com/bluemellophone/batbot-pyastar2d@master rich scikit-image shapely -sphinx-click tqdm diff --git a/setup.cfg b/setup.cfg index d73eb80..9d84195 100644 --- a/setup.cfg +++ b/setup.cfg @@ -4,14 +4,14 @@ description = Machine Learning app for the Kitware BatAI Project version = attr: batbot.VERSION long_description = file: README.rst long_description_content_type = text/x-rst -url = https://github.com/Kitware +url = https://github.com/Kitware/batbot author = Kitware author_email = vision@kitware.com license = MIT license_file = LICENSE project_urls = Documentation = https://batbot.readthedocs.io - Source = https://github.com/Kitware + Source = https://github.com/Kitware/batbot [options] packages = find: @@ -19,20 +19,15 @@ platforms = any include_package_data = true install_requires = click - cryptography - cython librosa - line_profiler matplotlib numpy opencv-python-headless - Pillow pooch pyastar2d @ git+https://github.com/bluemellophone/batbot-pyastar2d@master rich scikit-image shapely - sphinx-click tqdm python_requires = >=3.7