This directory contains a Pixi-based workspace that ties together the following projects:
The workspace is configured via pyproject.toml and uses Pixi for environment
management.
Run the following in an empty directory where you want to keep the workspace (for
example, this dev-pylcm directory):
git clone git@github.com:OpenSourceEconomics/dags.git
git clone git@github.com:OpenSourceEconomics/pylcm.git
git clone git@github.com:OpenSourceEconomics/lcm-paper.gitAfter cloning, your layout should look like:
dev-pylcm/
pyproject.toml
README.md
dags/
pylcm/
lcm-paper/
-
Install the environment
pixi install
-
Use the workspace
For example, to start a Python REPL inside the Pixi environment:
pixi run python
Or to run a one-off check that the main packages import correctly (after cloning them):
pixi run python -c "import dags, lcm"
pixi run -e py314 tests # Run all tests
pixi run -e py314 tests-dags # Run dags tests only
pixi run -e py314 tests-pylcm # Run pylcm tests onlypixi run -e ty ty