forked from ladybug-tools/butterfly
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (50 loc) · 1.25 KB
/
pyproject.toml
File metadata and controls
54 lines (50 loc) · 1.25 KB
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
48
49
50
51
52
53
54
[build-system]
requires = ["setuptools>=68", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "lbt-butterfly"
description = "Butterfly: tools to set up and run OpenFOAM cases (fork for BIM2SIM)"
readme = "README.md"
license = { file = "LICENSE" }
requires-python = ">=3.8"
authors = [{ name = "BIM2SIM / Ladybug Tools" }]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
dynamic = ["version"]
# IMPORTANT: only true runtime deps here
dependencies = [
"setuptools",
"twine",
"wheel"
]
[tool.setuptools]
packages = { find = { where = ["."], include = ["butterfly*"] } }
# Option A: version is defined in your package (butterfly/__init__.py) as __version__
[tool.setuptools.dynamic]
version = { attr = "butterfly.__version__" }
[project.optional-dependencies]
test = [
"pytest",
"pytest-cov",
"coverage",
]
docs = [
"Sphinx",
"sphinx-bootstrap-theme",
# If you really need fulltoc for docs, keep it here, not in runtime:
"sphinxcontrib-fulltoc",
"sphinxcontrib-websupport"
]
dev = [
"coveralls",
# include test+docs if you like:
"pytest",
"pytest-cov",
"coverage",
"Sphinx",
"sphinx-bootstrap-theme",
"sphinxcontrib-fulltoc",
]