--- a +++ b/pixi.toml @@ -0,0 +1,70 @@ +[project] +name = "ammr" +authors = ["Morten Enemark Lund <mel@anybodytech.com>"] +channels = ["conda-forge", "anybody/label/rc"] +platforms = ["linux-64", "win-64"] + +[dependencies] +python = ">=3.12.8,<3.14" +jinja2 = ">=3.1.4" +debugpy = ">=1.8.11" + + +[feature.anybodycon.dependencies] +python = ">=3.12.0,<3.13" +anypytools="*" +nomkl = "*" + +[feature.anybodycon.target.win-64.dependencies] +anybodycon = "==8.1.0beta4" + + +[feature.anybodycon.tasks] +update-mocap-files = {cmd = "python recreate_mocap_intermediate_files.py", cwd = "Tests", description = "Recreate MoCap application intermediate files"} +bmconfig = {cmd = "python render_templates.py", cwd = "Body/AAUHuman/BuildTools", description = "Create BM config files"} + + +[feature.test.dependencies] +pytest = ">=8.3.4,<9" +pytest-split = ">=0.10.0,<0.11" +pytest-xdist = ">=3.6.1,<4" +azure-storage-blob = ">=12.24.0,<13" +pillow = ">=11.1.0,<12" + + +[feature.test.tasks] +testall = {cmd = "pytest -n auto --dist worksteal --runslow", cwd = "Tests", description = "Run all tests"} +create-application-images = "python Docs/Applications/images/get_application_images.py" + + + +[feature.docs.dependencies] +python = ">=3.13.2,<3.14" +sphinx-book-theme = ">=1.1.3,<2" +sphinx-thebe = ">=0.3.1,<0.4" +sphinxcontrib-youtube = ">=1.4.1,<2" +sphinx-tabs = ">=3.4.1,<4" +sphinx-design = ">=0.6.1,<0.7" +sphinx-togglebutton = ">=0.3.2,<0.4" +sphinxext-opengraph = ">=0.9.1,<0.10" +sphinxcontrib-bibtex = ">=2.6.3,<3" +sphinx-copybutton = ">=0.5.2,<0.6" +myst-parser = ">=4.0.1,<5" +pygments_anyscript = ">=1.4.0,<2" +jinja2 = ">=3.1.5,<4" +python-frontmatter = ">=1.1.0,<2" +pydantic = ">=2.10.6,<3" +tqdm = ">=4.67.1,<5" +pydata-sphinx-theme = "==0.15.4" + + +[feature.docs.tasks] +docs = {cmd = "sphinx-build -M html . _build -W --keep-going", cwd = "Docs", description = "Build documentation"} +docs-linkcheck = {cmd = "sphinx-build -M linkcheck . _build -W --keep-going -a -q ", cwd = "Docs"} +docs-clean = {cmd = "rm -rf _build", cwd = "Docs"} + + +[environments] +anybodycon = ["anybodycon"] +test = ["test", "anybodycon"] +docs = {features = ["docs"], no-default-feature = true}