-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
44 lines (36 loc) · 934 Bytes
/
pyproject.toml
File metadata and controls
44 lines (36 loc) · 934 Bytes
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
[build-system]
requires = ["scikit-build-core"]
build-backend = "scikit_build_core.build"
[project]
name = "energyplus-core"
dynamic = ["version"]
description = "EnergyPlus Kernel with Python Bindings"
requires-python = ">=3.8"
readme = "README.md"
license = {file = "LICENSE.txt"}
[tool.scikit-build]
metadata.version.provider = "scikit_build_core.metadata.setuptools_scm"
cmake.source-dir = "resources/EnergyPlus"
wheel.py-api = "cp38"
wheel.packages = ["packages/energyplus"]
wheel.install-dir = "energyplus/core/lib"
[tool.scikit-build.cmake.define]
# NOTE required for pyenergyplus
BUILD_PACKAGE = "ON"
# NOTE required section
[tool.setuptools_scm]
version_scheme = "no-guess-dev"
[project.optional-dependencies]
test = ["pytest"]
[tool.pytest.ini_options]
minversion = "6.0"
testpaths = ["./tests"]
[tool.tox]
legacy_tox_ini = """
[tox]
envlist = py38,py39,py310,py311
[testenv]
deps =
pytest
commands = pytest
"""