Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
54 lines (45 loc) · 1.53 KB
/
Copy pathpyproject.toml
File metadata and controls
54 lines (45 loc) · 1.53 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>=66", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "compas_ghpython"
version = "2.15.0"
description = "Grasshopper integration for the COMPAS framework"
readme = "README.md"
requires-python = ">=3.12"
license = {file = "LICENSE"}
authors = [{name = "COMPAS Association"}]
keywords = ["compas", "architecture", "engineering", "grasshopper"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering",
]
dependencies = ["compas>=2.15,<3", "compas_rhino>=2.15,<3"]
[project.optional-dependencies]
dev = ["build", "invoke", "pytest", "ruff", "twine"]
docs = ["mkdocs>=1.6,<2"]
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = true
zip-safe = false
[tool.setuptools.packages.find]
where = ["src"]
include = ["compas_ghpython", "compas_ghpython.*"]
namespaces = false
[tool.setuptools.package-data]
"compas_ghpython" = ["**/*.png", "**/*.json", "**/*.yml", "components/*/*.py", "components_cpython/*/*.py", "**/*.ghuser"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["-ra", "--strict-markers", "--tb=short"]
[tool.ruff]
line-length = 179
target-version = "py312"
# The recovered sources are intentionally unchanged; expand lint coverage during migration.
include = ["tasks.py", "tests/**/*.py", "scripts/**/*.py"]
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.lint.isort]
force-single-line = true