Skip to content

Commit 5177aec

Browse files
committed
chore: build and workflow configurations
Updated `pyproject.toml` to use `setuptools.find` for package discovery with a source directory and adjusted GitHub workflows: removed unnecessary `working-directory` from `ghpages.yml` and ensured `tests.yml` installs the package in editable mode. These changes enhance structure and workflow consistency.
1 parent bd9e40d commit 5177aec

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/workflows/ghpages.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ concurrency:
1919
defaults:
2020
run:
2121
shell: bash
22-
working-directory: docs
2322

2423
jobs:
2524
deploy:

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- name: Install dependencies
3131
run: |
3232
pip install -r requirements.txt
33-
pip install pytest
33+
pip install -e .
3434
3535
- name: Run tests
3636
run: |

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ Tracker = "https://github.com/alperensert/capmonster_python/issues"
2929
requires = ["setuptools>=61", "wheel"]
3030
build-backend = "setuptools.build_meta"
3131

32-
[tool.setuptools]
33-
packages = ["capmonster_python", "capmonster_python.tasks"]
32+
[tool.setuptools.packages.find]
33+
where = ["src"]
3434

3535
[tool.setuptools.package-dir]
3636
"" = "src"

0 commit comments

Comments
 (0)