You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-8Lines changed: 20 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,16 +72,28 @@ python -m plux entrypoints
72
72
73
73
This creates a `plux.ini` file in your working directory with the discovered plugins. You can then include this file in your distribution by configuring your `pyproject.toml`:
74
74
75
-
```toml
76
-
[project]
77
-
dynamic = ["entry-points"]
75
+
-**setuptools:**
76
+
```toml
77
+
[project]
78
+
dynamic = ["entry-points"]
78
79
79
-
[tool.setuptools.package-data]
80
-
"*" = ["plux.ini"]
80
+
[tool.setuptools.package-data]
81
+
"*" = ["plux.ini"]
81
82
82
-
[tool.setuptools.dynamic]
83
-
entry-points = {file = ["plux.ini"]}
84
-
```
83
+
[tool.setuptools.dynamic]
84
+
entry-points = {file = ["plux.ini"]}
85
+
```
86
+
87
+
-**hatchling:**
88
+
```toml
89
+
[project]
90
+
dynamic = ["entry-points"]
91
+
92
+
[tool.setuptools.package-data]
93
+
"*" = ["plux.ini"]
94
+
95
+
[tool.hatch.metadata.hooks.plux]
96
+
```
85
97
86
98
You can also manually control the output format and location:
0 commit comments