Skip to content

Commit

Permalink
Hotfixes (#47)
Browse files Browse the repository at this point in the history
* fix pyproject.toml, fix ci

* ci fix
  • Loading branch information
phinate authored Aug 1, 2024
1 parent 784782b commit ecb4781
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 26 deletions.
6 changes: 3 additions & 3 deletions project_template/.github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [{{ min_python_version }}, 3.12] # test oldest and latest supported versions
runs-on: [ubuntu-latest] # can be extended to other OSes, e.g. [ubuntu-latest, macos-latest]
python-version: ["{{ min_python_version }}", "3.12"] # test oldest and latest supported versions
runs-on: [ubuntu-latest, macos-latest] # can be extended to other OSes, e.g. [ubuntu-latest, macos-latest, windows-latest]

steps:
- uses: actions/checkout@v4
Expand All @@ -43,7 +43,7 @@ jobs:
allow-prereleases: true

- name: Install package
run: python -m pip install .[test]
run: python -m pip install .[dev]

- name: Test package
run: >-
Expand Down
23 changes: 0 additions & 23 deletions project_template/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,6 @@
requires = ["setuptools>=61"]
build-backend = "setuptools.build_meta"

{%- if license == "BSD" %}
license = "BSD-3-Clause"
{%- elif license == "Apache" %}
license = "Apache-2.0"
{%- elif license == "MIT" %}
license = "MIT"
{%- elif license == "GPL" %}
license = "GPL-3.0-or-later"
{%- endif %}
description = "{{ project_short_description }}"
readme = "README.md"

classifiers = [
"Development Status :: 1 - Planning",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering",
{% if typing != "no_typing" -%}
"Typing :: Typed",
{%- endif %}
]

[project]
name = "{{ project_name }}"
version = "0.1.0"
Expand Down

0 comments on commit ecb4781

Please sign in to comment.