Skip to content

Commit cb58838

Browse files
authored
fix: use correct license-files property in pyproject.toml (#117)
* also add an install test to hopefully catch stuff like this
1 parent 420f88e commit cb58838

File tree

2 files changed

+15
-3
lines changed

2 files changed

+15
-3
lines changed

.github/workflows/checks.yaml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,21 @@ jobs:
1010
- name: Setup Python
1111
uses: actions/setup-python@v5
1212

13+
- name: Install uv
14+
uses: astral-sh/setup-uv@v6
15+
16+
- name: Activate venv
17+
run: uv venv
18+
1319
- name: Install dependencies
1420
run: |
15-
python3 -m pip install -r requirements.txt
21+
uv pip install -r requirements.txt
1622
1723
- name: Attempt build
18-
run: python3 -m cookiecutter --no-input python/
24+
run: uv run cookiecutter --no-input python/
25+
26+
- name: Attempt installation
27+
run: uv sync --all-extras
28+
working-directory: wagner_lab_project/
29+
env:
30+
SETUPTOOLS_SCM_PRETEND_VERSION: 0.0.1

python/{{cookiecutter.project_slug}}/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ classifiers = [
1717
requires-python = ">=3.11"
1818
description = "{{ cookiecutter.description }}"
1919
license = "MIT"
20-
license_files = ["LICENSE"]
20+
license-files = ["LICENSE"]
2121
dependencies = [
2222
{%- if cookiecutter.add_cli %}
2323
"click",

0 commit comments

Comments
 (0)