From dfdbba0e9362cdd08236cee65b71745634b4bea6 Mon Sep 17 00:00:00 2001 From: Andre Merzky Date: Sat, 5 Sep 2026 23:14:38 +0200 Subject: [PATCH] packaging: first PyPI release prep The distribution ships the ddsim library only; workflows/ is repo-level example content (cluster-specific configs and data) used from a checkout, and a top-level package named 'workflows' must not land in site-packages. __all__ no longer lists NvmlMonitor, which does not exist (star-import raised AttributeError). Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01QHdYAup83HGHJkmjbo96ts --- ddsim/__init__.py | 2 +- pyproject.toml | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ddsim/__init__.py b/ddsim/__init__.py index 250db12..0e31026 100644 --- a/ddsim/__init__.py +++ b/ddsim/__init__.py @@ -3,4 +3,4 @@ from .ddsim_manager import DDSimManager from .logger import Logger -__all__ = ["DDSimManager", "Logger", "NvmlMonitor"] +__all__ = ["DDSimManager", "Logger"] diff --git a/pyproject.toml b/pyproject.toml index 952b0e6..fde14a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -41,7 +41,10 @@ requires-python = ">=3.9" dependencies = ["rhapsody-py", "pyyaml", "radical.asyncflow>=0.3.0"] [tool.setuptools.packages.find] -include = ["ddsim*", "workflows*"] +# the distribution ships the ddsim library only; the workflows/ tree is +# repo-level example content (cluster-specific configs and data), used +# from a checkout +include = ["ddsim*"] [project.urls] Homepage = "https://github.com/radical-collaboration/DeepDriveSim"