From 25cabc7e14e1ed20ef70b9aad8ff941456b50610 Mon Sep 17 00:00:00 2001 From: "David W.H. Swenson" Date: Mon, 21 Apr 2025 10:44:26 -0500 Subject: [PATCH] Trust setuptools.find to do its thing We were having problems because spec0.utils wasn't getting installed in non-editable installs. --- docs/conf.py | 4 +--- pyproject.toml | 4 ---- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index dea6670..b080195 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -5,10 +5,8 @@ # -- Project information ----------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information -import sys -import os -sys.path.insert(0, os.path.abspath("../src/spec0")) +# sys.path.insert(0, os.path.abspath("../src/spec0")) project = "SPEC0" copyright = "2025, David W.H. Swenson" diff --git a/pyproject.toml b/pyproject.toml index 7dec33d..bf6f17c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,10 +49,6 @@ docs = [ [project.scripts] spec0 = "spec0.cli:cli_main" -[tool.setuptools] -packages = ["spec0"] -package-dir = { "" = "src" } - [tool.pixi.project] channels = ["conda-forge"] platforms = ["osx-64"]