Skip to content

Commit 4a2ee4f

Browse files
authored
Merge pull request #268 from hirohira9119/fix_packaging
Fix packaging to install only the `choreographer` module
2 parents f61bcf4 + f015a67 commit 4a2ee4f

39 files changed

+9
-5
lines changed

.github/workflows/ruff.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ jobs:
88
- uses: actions/checkout@v4
99
- uses: astral-sh/ruff-action@v3
1010
with:
11-
src: 'choreographer'
11+
src: 'src'

pyproject.toml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
requires = ["setuptools>=65.0.0", "wheel", "setuptools-git-versioning"]
33
build-backend = "setuptools.build_meta"
44

5-
[tool.setuptools.packages]
6-
find = {namespaces = true}
5+
[tool.setuptools]
6+
7+
[tool.setuptools.packages.find]
8+
where = ["src"]
9+
namespaces = false
710

811
[tool.setuptools-git-versioning]
912
enabled = true
@@ -69,7 +72,7 @@ dev = [
6972
#logistro = { path = "../logistro", editable = true }
7073

7174
[tool.ruff]
72-
src = ["choreographer"]
75+
src = ["src"]
7376

7477
[tool.ruff.lint]
7578
select = ["ALL"]
@@ -126,4 +129,4 @@ help = "Run any/all tests one by one with basic settings: can include filename a
126129
[tool.pyright]
127130
venvPath = "."
128131
venv = ".venv"
129-
include = ["choreographer", "tests"]
132+
include = ["src", "tests"]

results/placeholder

Whitespace-only changes.

0 commit comments

Comments
 (0)