https://github.com/lenskit/lkbuild
Build helper code for LensKit packages.
https://github.com/lenskit/lkbuild
Last synced: 2 months ago
JSON representation
Build helper code for LensKit packages.
- Host: GitHub
- URL: https://github.com/lenskit/lkbuild
- Owner: lenskit
- License: other
- Created: 2021-10-22T17:52:04.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-11-09T21:41:55.000Z (about 2 years ago)
- Last Synced: 2024-04-16T02:03:27.284Z (over 1 year ago)
- Language: Python
- Size: 1.07 MB
- Stars: 0
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# LensKit build support code
This repository provides support code for use in LensKit builds and development. If you are trying to
use LensKit, you don't need it; it is only used for working on developing LensKit (and related packages).
To set up a Conda environment that contains the utilities needed to bootstrap a LensKit
development environment:
conda env create -n lkboot -f https://raw.githubusercontent.com/lenskit/lkbuild/main/boot-env.yml
Then you can run the lkbuild utilities:
conda activate lkboot
lkbuild --help
For example, you can create a lock file for developing LensKit:
lkbuild dev-lock -v 3.9 -b mkl
Or you can download some testing data:
lkbuild fetch-data -d ml-20m
You can also install into a Python environment with one of:
pip install lenskit-build-helpers
conda install -c lenskit lenskit-build-helpers
## GitHub Actions
This repository also provides some GitHub actions to support our CI workflow.
- `actions/setup-env` — sets up an Anaconda environment based on locking the dependencies from `pyproject.toml`.