@@ -30,8 +30,8 @@ dependencies = [
3030 " flax" ,
3131 " ml_collections" ,
3232 " casadi" ,
33- " drone-models" , # from PyPI (regular install) or submodules folder (pixi install)
34- " drone-controllers" , # from PyPI (regular install) or submodules folder (pixi install)
33+ " drone-models==0.1.0 " , # from PyPI (regular install) or submodules folder (pixi install)
34+ " drone-controllers==0.1.0 " , # from PyPI (regular install) or submodules folder (pixi install)
3535]
3636requires-python = " >=3.11,<3.14" # MuJoCo has no wheels for python 14
3737
@@ -143,6 +143,7 @@ release = { features = ["build"], solve-group = "default" }
143143gpu = { features = [" gpu" ], solve-group = " gpu" }
144144benchmark = { features = [" benchmark" , " gpu" ], solve-group = " gpu" }
145145gpu-tests = { features = [" tests" , " gpu" ], solve-group = " gpu" }
146+ dist = { features = [" dist" ], solve-group = " default" }
146147
147148[tool .pixi .feature .tests .dependencies ]
148149pytest = " >=8.4.1"
@@ -167,4 +168,13 @@ mkdocs-section-index = ">=0.3.0"
167168
168169[tool .pixi .feature .docs .tasks ]
169170docs-build = { cmd = " mkdocs build" , description = " Build docs" }
170- docs-serve = { cmd = " mkdocs serve --livereload" , description = " Serve docs locally" }
171+ docs-serve = { cmd = " mkdocs serve --livereload" , description = " Serve docs locally" }
172+
173+ [tool .pixi .feature .dist .pypi-dependencies ]
174+ build = " *"
175+ twine = " *"
176+
177+ [tool .pixi .feature .dist .tasks ]
178+ build = { cmd = " python -m build && twine check dist/*" , description = " Build and test the package" }
179+ upload_test = { cmd = " twine upload -r testpypi dist/*" , description = " Test upload of the built package" }
180+ upload = { cmd = " twine upload dist/*" , description = " Upload of the built package" }
0 commit comments