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
|`version-file`| Path to a Python file from which to read `__version__` when `[project].version` is dynamic | (none) |
80
+
|`conanfile-path`| Path to the Conan recipe (directory containing `conanfile.py` or path to the file), relative to project root |`"."` (project root) |
81
+
|`wheel.packages`| List of paths (relative to project root) of Python packages to include in the wheel; each must be a directory with `__init__.py`|`["src/<normalized_project_name>"]`|
82
+
|`sdist.include`| List of paths or patterns to add to the sdist |`[]`|
83
+
|`sdist.exclude`| List of paths or patterns to exclude from the sdist |`[]`|
84
+
|`extra-profile`| Path (relative to project root) to a Conan profile file | (none) |
83
85
84
86
### Dynamic version
85
87
@@ -105,6 +107,15 @@ If `wheel.packages` is not set, the backend includes a single package at
105
107
`src/<normalized_project_name>` (e.g. `src/mypackage` for a project named
106
108
`mypackage`).
107
109
110
+
**Conan recipe path.** If your recipe lives outside the project root (e.g.
111
+
`subfolder/conanfile.py`), set `conanfile-path` so the backend runs
112
+
`conan source`, `conan build` and `conan export-pkg` on that path:
0 commit comments