Skip to content

Commit 68ec48a

Browse files
committed
fix(packaging): using uv build command
1 parent 709b92d commit 68ec48a

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

docs/deployment.md

+6-12
Original file line numberDiff line numberDiff line change
@@ -38,42 +38,36 @@ This is the preferred way for Polylith projects.
3838

3939
#### Poetry
4040
``` shell
41-
poetry build-project --directory path/to/project
41+
poetry build-project --directory projects/the_project
4242
```
4343

4444
#### Hatch
4545
``` shell
46-
cd path/to_project
46+
cd projects/the_project
4747

4848
hatch build
4949
```
5050

5151
#### PDM
5252
``` shell
53-
cd path/to_project
53+
cd projects/the_project
5454

5555
pdm build
5656
```
5757

5858
#### Rye
5959
``` shell
60-
cd path/to_project
60+
cd projects/the_project
6161

62-
# run the build command for each output
6362
rye build --wheel
64-
rye build --sdist
6563
```
6664

6765
#### uv
6866
``` shell
69-
cd path/to_project
70-
71-
uvx --from build pyproject-build --installer uv
67+
uv build --wheel projects/the_project
7268
```
7369

74-
75-
This command will create a project specific _dist_ folder containing a _wheel_ and an _sdist_.
76-
You can use the available __build__ options with this command too.
70+
This command will create a project specific _dist_ folder containing a _wheel_ with all the needed bricks.
7771

7872
## Deploying
7973
You can use the built artifacts to install your service in your preffered way, just by running

0 commit comments

Comments
 (0)