File: pyproject.toml

package info (click to toggle)
metkit 1.15.7-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,380 kB
  • sloc: cpp: 16,089; sh: 2,532; python: 1,757; ansic: 71; makefile: 18
file content (47 lines) | stat: -rw-r--r-- 936 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# pytest
[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-vv -s"
testpaths = [
    "pymetkit/tests"
]

# pyproject.toml

[build-system]
requires = ["setuptools", "wheel", "cffi"]
build-backend = "setuptools.build_meta"

[project]
name = "pymetkit"
description = "Python interface for metkit"
dynamic = ["version"]
authors = [
  { name = "European Centre for Medium-Range Weather Forecasts (ECMWF)", email = "software.support@ecmwf.int" },
]
license = { text = "Apache License Version 2.0" }
requires-python = ">=3.10"
dependencies = [
    "cffi",
    "metkitlib",
    "findlibs"
]

[tool.setuptools.dynamic]
version = { file = ["VERSION"] }

[tool.setuptools]
packages = ["pymetkit"]
package-dir = { "pymetkit" = "./python/pymetkit/src/pymetkit" }
include-package-data = true
zip-safe = false

[tool.setuptools.package-data]
"pymetkit" = [
    "VERSION", 
    "metkit_c.h"
]

[project.optional-dependencies]
tests = ["pytest"]