Skip to content

Commit c8bf99c

Browse files
committed
fix: Debug CI issues with package discovery
- Revert to package discovery method - Add debugging to see directory structure - Use verbose pip install to see what's happening
1 parent e178183 commit c8bf99c

File tree

2 files changed

+13
-15
lines changed

2 files changed

+13
-15
lines changed

.github/workflows/minimal-check.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,19 @@ jobs:
2222

2323
- name: Run setup and tests
2424
run: |
25+
# Debug: Show directory structure
26+
echo "=== Directory structure ==="
27+
ls -la commands/
28+
ls -la commands/subs/
29+
ls -la commands/subs/build/ || echo "build dir missing"
30+
2531
# Setup environment and install as editable package
2632
python -m venv .venv
2733
source .venv/bin/activate
2834
pip install --upgrade pip setuptools wheel
2935
30-
# Install the package in editable mode
31-
pip install -e .
36+
# Install the package in editable mode with verbose output
37+
pip install -e . -v
3238
3339
# Install dev dependencies
3440
pip install -r tools/requirements.txt

pyproject.toml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name = "core-cli"
77
dynamic = ["version"]
88
description = "ehAye™ Core CLI - A modular command-line interface framework"
99
authors = [
10-
{name = "Your Name", email = "you@example.com"}
10+
{name = "Val Neekman", email = "info@neekware.com"}
1111
]
1212
requires-python = ">=3.9"
1313
dependencies = [
@@ -27,18 +27,10 @@ dev = [
2727
[project.scripts]
2828
cli = "commands.main:main"
2929

30-
[tool.setuptools]
31-
packages = [
32-
"commands",
33-
"commands.subs",
34-
"commands.subs.build",
35-
"commands.subs.dev",
36-
"commands.subs.package",
37-
"commands.subs.proj",
38-
"commands.subs.release",
39-
"commands.tests",
40-
"commands.utils",
41-
]
30+
[tool.setuptools.packages.find]
31+
where = ["."]
32+
include = ["commands", "commands.*"]
33+
exclude = ["commands.tests*"]
4234

4335
[tool.setuptools.dynamic]
4436
version = {attr = "commands.__version__"}

0 commit comments

Comments
 (0)