File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -42,17 +42,7 @@ pixi add --pypi build
4242✔ Added build >=1.3.0, <2
4343Added these as pypi-dependencies.
4444```
45- Empty the depenencies under ` [project] ` and move/edit them to ` [tool.pixi.pypi-dependencies] ` section, like shown below:
46-
47- ``` toml
48- [project ]
49- dependencies = []
50-
51- [tool .pixi .pypi-dependencies ]
52- requests = " >=2.32.5,<3"
53- build = " >=1.3.0,<2"
54- ```
55- Then run the ` build ` command:
45+ Now run the ` build ` command:
5646
5747``` bash
5848pixi run python -m build
@@ -91,7 +81,7 @@ This command creates a `dist` directory containing two files:
9181
9282## Step 3: Upload your build
9383The ** Twine** tool is used to securely upload your package distributions.
94- Install ` twine ` and modify the ` pyroject.toml ` file as you did for ` build ` tool above .
84+ Install ` twine ` .
9585
9686``` bash
9787pixi add --pypi twine
@@ -187,7 +177,8 @@ ERROR HTTPError: 400 Bad Request from https://test.pypi.org/legacy/
187177```
188178
189179To fix this,
190- - Rename your Package Folder, [ project] .name (e.g. from ` greet_me ` to ` greet_me1 ` ) and also change this section, ` [tool.pixi.pypi-dependencies] `
180+ - Rename your Package Folder, [ project] .name (e.g. from ` greet_me ` to ` greet_me1 ` )
181+ - Make changes to your package name in the ` pyproject.toml ` file.
191182
192183``` toml
193184[project ]
You can’t perform that action at this time.
0 commit comments