Skip to content

Commit ecb4781

Browse files
authored
Hotfixes (#47)
* fix pyproject.toml, fix ci * ci fix
1 parent 784782b commit ecb4781

2 files changed

Lines changed: 3 additions & 26 deletions

File tree

project_template/.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: [{{ min_python_version }}, 3.12] # test oldest and latest supported versions
33-
runs-on: [ubuntu-latest] # can be extended to other OSes, e.g. [ubuntu-latest, macos-latest]
32+
python-version: ["{{ min_python_version }}", "3.12"] # test oldest and latest supported versions
33+
runs-on: [ubuntu-latest, macos-latest] # can be extended to other OSes, e.g. [ubuntu-latest, macos-latest, windows-latest]
3434

3535
steps:
3636
- uses: actions/checkout@v4
@@ -43,7 +43,7 @@ jobs:
4343
allow-prereleases: true
4444

4545
- name: Install package
46-
run: python -m pip install .[test]
46+
run: python -m pip install .[dev]
4747

4848
- name: Test package
4949
run: >-

project_template/pyproject.toml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,6 @@
22
requires = ["setuptools>=61"]
33
build-backend = "setuptools.build_meta"
44

5-
{%- if license == "BSD" %}
6-
license = "BSD-3-Clause"
7-
{%- elif license == "Apache" %}
8-
license = "Apache-2.0"
9-
{%- elif license == "MIT" %}
10-
license = "MIT"
11-
{%- elif license == "GPL" %}
12-
license = "GPL-3.0-or-later"
13-
{%- endif %}
14-
description = "{{ project_short_description }}"
15-
readme = "README.md"
16-
17-
classifiers = [
18-
"Development Status :: 1 - Planning",
19-
"Intended Audience :: Science/Research",
20-
"Intended Audience :: Developers",
21-
"Operating System :: OS Independent",
22-
"Topic :: Scientific/Engineering",
23-
{% if typing != "no_typing" -%}
24-
"Typing :: Typed",
25-
{%- endif %}
26-
]
27-
285
[project]
296
name = "{{ project_name }}"
307
version = "0.1.0"

0 commit comments

Comments
 (0)