File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -192,16 +192,16 @@ __Choose the name wisely.__ Have a look in [PEP-423](https://peps.python.org/pep
192
192
193
193
` --theme ` the structure of the workspace, ` loose ` is the recommended structure for Python.
194
194
195
- #### Edit the configuration
196
- Make sure that the build backend for uv is set to Hatch.
195
+ #### Edit the project configuration
196
+ Make sure that the build backend for ` uv ` is set to Hatch, having this section in the ` pyproject.toml ` :
197
197
198
198
``` toml
199
199
[build-system ]
200
200
requires = [" hatchling" ]
201
201
build-backend = " hatchling.build"
202
202
```
203
203
204
- Make uv (and Hatch) aware of the way Polylith organizes source code:
204
+ Make ` uv ` aware of the way Polylith organizes source code:
205
205
``` toml
206
206
[tool .hatch .build ]
207
207
dev-mode-dirs = [" components" , " bases" , " development" , " ." ]
@@ -213,10 +213,6 @@ Run the `sync` command to update the virtual environment:
213
213
uv sync
214
214
```
215
215
216
- Finally, remove the ` src ` boilerplate code that was added by uv in the first step:
217
- ``` shell
218
- rm -r src
219
- ```
220
216
221
217
### Maturin
222
218
Add the ` polylith-cli ` as a development dependency to your ` pyproject.toml ` file:
You can’t perform that action at this time.
0 commit comments