Skip to content

Commit

Permalink
Merge pull request #3 from lenskit/tweak/lkbuild
Browse files Browse the repository at this point in the history
Use common LK Build tools for building
  • Loading branch information
mdekstrand committed Dec 8, 2022
2 parents 6e461ba + caea768 commit 41ce63c
Show file tree
Hide file tree
Showing 15 changed files with 11 additions and 271 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,11 @@ jobs:
fetch-depth: 0
submodules: true

- name: Set up Python
uses: actions/setup-python@v2
- name: Set up Python and environment
uses: lenskit/lkbuild/actions/setup-vanilla-env@main
with:
python-version: ${{matrix.python}}

- name: Install Python deps
run: |
pip install -U flit
flit install --pth-file
- name: 🔎 Inspect environment
run: |
numba -s
Expand Down
Empty file removed lkbuild/__init__.py
Empty file.
11 changes: 0 additions & 11 deletions lkbuild/boot-env.yml

This file was deleted.

60 changes: 0 additions & 60 deletions lkbuild/bootstrap-env.sh

This file was deleted.

33 changes: 0 additions & 33 deletions lkbuild/datasets.py

This file was deleted.

22 changes: 0 additions & 22 deletions lkbuild/env.py

This file was deleted.

10 changes: 0 additions & 10 deletions lkbuild/lock-for-ci.sh

This file was deleted.

4 changes: 0 additions & 4 deletions lkbuild/mkl-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/openblas-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/python-3.10-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/python-3.7-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/python-3.8-spec.yml

This file was deleted.

3 changes: 0 additions & 3 deletions lkbuild/python-3.9-spec.yml

This file was deleted.

106 changes: 0 additions & 106 deletions lkbuild/tasks.py

This file was deleted.

12 changes: 9 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,17 @@ test = [
"pytest-doctestplus >= 0.9",
]
dev = [
"lenskit-build-helpers >=0.1",
"flit >= 3",
"packaging >= 20",
"flake8 >= 3",
"coverage >= 5",
"pytest-cov >= 2.12",
]
doc = [
"lenskit[doc]"
"sphinx >= 4.2",
"sphinxcontrib-bibtex >= 2.0",
"sphinx_rtd_theme >= 0.5",
"myst-nb >= 0.13",
]

[tool.flit.module]
Expand All @@ -61,4 +64,7 @@ exclude = [
]

[tool.conda-lock]
channels = ["conda-forge"]
channels = [
"conda-forge",
"lenskit",
]

0 comments on commit 41ce63c

Please sign in to comment.