Skip to content

Commit 7cf6409

Browse files
committed
name chek
1 parent 4cb35e7 commit 7cf6409

5 files changed

Lines changed: 26 additions & 16 deletions

File tree

.coverage

80 KB
Binary file not shown.

.github/workflows/ci.yml

Lines changed: 23 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,38 @@ jobs:
2626
- name: Install dependencies
2727
run: python -m pip install --upgrade pip build
2828

29-
- name: Install package and test deps (install inner package dir)
29+
- name: Install package and test deps (verbose)
3030
run: |
31-
python -m pip install --upgrade pip
32-
# install the package directory explicitly (editable) and extras for testing
33-
python -m pip install -e ./GabesPythonToolBox[testing]
31+
python -m pip install --upgrade pip setuptools wheel -v
32+
# verbose install, capture output
33+
python -m pip install -v -e ./GabesPythonToolBox[testing] || python -m pip install -v -e ./GabesPythonToolBox || true
34+
echo "=== pip list ==="
35+
python -m pip list
36+
echo "=== pip show package ==="
37+
python -m pip show GabesPythonToolBox || python -m pip show GabesPythonToolBox || true
38+
echo "=== installed modules (top-level) ==="
39+
python - <<'PY'
40+
import pkgutil, sys
41+
mods = sorted(x.name for x in pkgutil.iter_modules())
42+
print("modules count:", len(mods))
43+
for m in mods[:200]:
44+
print(m)
45+
PY
3446

35-
- name: Debug repository layout (helpful if imports still fail)
47+
- name: Debug import and sys.path
3648
run: |
3749
python - <<'PY'
38-
import sys, os
50+
import sys, traceback, os
3951
print("cwd:", os.getcwd())
40-
print("PYTHONPATH env:", os.environ.get("PYTHONPATH"))
41-
print("sys.path:")
42-
for p in sys.path:
52+
print("env PYTHONPATH:", os.environ.get("PYTHONPATH"))
53+
print("sys.path (first 10):")
54+
for p in sys.path[:10]:
4355
print(" ", p)
44-
print("\nTop-level files and dirs:")
45-
print(os.listdir("."))
4656
try:
4757
import GabesPythonToolBox
4858
print("Imported GabesPythonToolBox from:", getattr(GabesPythonToolBox, "__file__", repr(GabesPythonToolBox)))
49-
except Exception as e:
50-
print("Importing GabesPythonToolBox failed:", type(e).__name__, e)
59+
except Exception:
60+
traceback.print_exc()
5161
PY
5262

5363
- name: Ensure repo on PYTHONPATH for tests

folder_tree.txt

-6 Bytes
Binary file not shown.

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ requires = ["setuptools>=61", "wheel"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "GabrielsPythonToolBox"
6+
name = "GabesPythonToolBox"
77
version = "1.9.2"
88
description = "A collection of useful Python tools"
99
readme = "README.md"
@@ -23,8 +23,8 @@ testing = [
2323
]
2424

2525
[project.urls]
26-
"Homepage" = "https://github.com/NorgeSkiFollo/GabrielsPythonToolBox"
27-
"Repository" = "https://github.com/NorgeSkiFollo/GabrielsPythonToolBox.git"
26+
"Homepage" = "https://github.com/NorgeSkiFollo/GabesPythonToolBox"
27+
"Repository" = "https://github.com/NorgeSkiFollo/GabesPythonToolBox.git"
2828

2929
[tool.setuptools.packages.find]
3030
where = ["."]

requirements.in

-6 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)