Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
118 lines (101 loc) · 2.86 KB
/
Copy pathpyproject.toml
File metadata and controls
118 lines (101 loc) · 2.86 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "compas_threejs"
dynamic = ["version"]
description = "A lightweight Three.js viewer for COMPAS using Protobuf"
readme = "README.md"
requires-python = ">=3.9"
authors = [
{ name = "Eric Gozzi", email = "eric.gozzi@arch.ethz.ch" },
{ name = "Nicolas Benjamin Boscoboinik", email = "boscoboinik@arch.ethz.ch" },
]
keywords = ["compas", "viewer", "threejs", "protobuf"]
license = "MIT"
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Scientific/Engineering",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
]
dependencies = [
"compas",
"compas-pb>=1,<2",
"compas_brep[occ]",
"websockets",
"fastapi",
"uvicorn",
"rich",
]
[project.optional-dependencies]
dev = [
"build",
"bump-my-version",
"invoke",
"mkdocs",
"mkdocs-material",
"mkdocstrings",
"mkdocstrings-python",
"compas_invocations2[mkdocs]>=1.0.2",
"ruff",
"wheel",
"pytest>=8.4.2",
]
[project.urls]
Homepage = "https://compas.dev/compas_threejs"
Documentation = "https://compas.dev/compas_threejs"
Repository = "https://github.com/compas-dev/compas_threejs"
Changelog = "https://github.com/compas-dev/compas_threejs/blob/main/CHANGELOG.md"
Forum = "https://forum.compas-framework.org/"
Issues = "https://github.com/compas-dev/compas_threejs/issues"
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 179
indent-width = 4
target-version = "py39"
[tool.ruff.lint]
select = ["E", "F", "I"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["I001"]
"tasks.py" = ["I001"]
[tool.ruff.lint.isort]
force-single-line = true
known-first-party = ["compas_threejs"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.pycodestyle]
max-doc-length = 179
[tool.ruff.format]
docstring-code-format = true
docstring-code-line-length = "dynamic"
[tool.bumpversion]
current_version = "2.0.0"
message = "Bump version to {new_version}"
commit = true
tag = true
[[tool.bumpversion.files]]
filename = "src/compas_threejs/__init__.py"
search = "{current_version}"
replace = "{new_version}"
[[tool.bumpversion.files]]
filename = "CHANGELOG.md"
search = "Unreleased"
replace = "[{new_version}] - {now:%Y-%m-%d}"
# -- DISCOVERY --
# Tells setuptools that the code is inside the 'src' folder
[tool.setuptools.packages.find]
where = ["src"]
# -- STATIC FILES --
# Critical: Tells setuptools to look at MANIFEST.in for non-python files (html, js)
[tool.setuptools]
include-package-data = true
[tool.setuptools.dynamic]
version = { attr = "compas_threejs.__version__" }