File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,35 @@ Here you can specify various steps that you would want to run before making your
108108# This command will only be defined on Windows
109109greet = { cmd = " echo 'Happy Python Packaging!'" }
110110```
111+ Final ` pyproject.toml ` should look like this below, for reference.
112+
113+ ``` toml
114+ [project ]
115+ authors = [{name = " Priyanka O" }]
116+ dependencies = []
117+ name = " po_greet_me"
118+ requires-python = " >= 3.11"
119+ version = " 0.1.2"
120+ description = " greet_me Pixi-managed package"
121+
122+ [build-system ]
123+ build-backend = " hatchling.build"
124+ requires = [" hatchling" ]
125+
126+ [tool .hatch .build .targets .wheel ]
127+ packages = [" my_package" ]
128+
129+ [tool .pixi .workspace ]
130+ channels = [" conda-forge" ]
131+ platforms = [" linux-64" ]
132+
133+ [tool .pixi .pypi-dependencies ]
134+ greet_me = { path = " ." , editable = true }
135+ requests = " >=2.32.5,<3"
136+
137+ [tool .pixi .tasks ]
138+ greet = { cmd = " echo 'Happy Python Packaging!'" }
139+ ```
111140::::::::::::::::::::::::::::::::::::: keypoints
112141- Need to have a ` pyproject.toml ` file
113142- Need to have ` [build-system] ` section with ` requires ` and ` build-backend ` specfied.
You can’t perform that action at this time.
0 commit comments