Skip to content

Commit 4b66b9a

Browse files
committed
chore: add attributes & classifiers to pyproject.toml, update ci
* add project attributes and classifiers to pyproject.toml * ci test with python 3.8-3.12 * drop python 3.7 since it's EOL
1 parent ee0cf1b commit 4b66b9a

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os: [ubuntu-latest]
42-
python: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
42+
python: ["3.8", "3.9", "3.10", "3.11", "3.12"]
4343

4444
steps:
4545
- name: Checkout code

pyproject.toml

+19
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,25 @@ requires = [
77
]
88
build-backend = "setuptools.build_meta"
99

10+
[project]
11+
name = "fprettify"
12+
description = "auto-formatter for modern fortran source code"
13+
license = {file = "LICENSE"}
14+
classifiers = [
15+
"Programming Language :: Python :: 3 :: Only",
16+
"Programming Language :: Python :: 3.8",
17+
"Programming Language :: Python :: 3.9",
18+
"Programming Language :: Python :: 3.10",
19+
"Programming Language :: Python :: 3.11",
20+
"Programming Language :: Python :: 3.12",
21+
]
22+
requires-python = ">=3.8"
23+
dynamic = ["version", "readme"]
24+
25+
[tool.setuptools.dynamic]
26+
version = {attr = "fprettify._version.version"}
27+
readme = {file = ["README.md", "LICENSE.md"], content-type = "text/markdown"}
28+
1029
[tool.setuptools_scm]
1130
write_to = "fprettify/_version.py"
1231

0 commit comments

Comments
 (0)