forked from RainbowRobotics/rby1-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
59 lines (55 loc) · 1.94 KB
/
pyproject.toml
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
[tool.poetry]
name = "rby1-sdk"
version = "0.2.0"
description = ""
authors = ["Keunjun Choi <[email protected]>"]
license = "Apache-2.0"
readme = "README.md"
homepage = "https://www.rainbow-robotics.com/"
repository = "https://github.com/RainbowRobotics/rby1-sdk"
include = [
# Source files for C extensions must be included in the source distribution.
{ path = "cmake", format = "sdist" },
{ path = "include", format = "sdist" },
{ path = "models", format = "sdist" },
{ path = "protos", format = "sdist" },
{ path = "python", format = "sdist" },
{ path = "src", format = "sdist" },
{ path = "third-party", format = "sdist" },
{ path = "CMakeLists.txt", format = "sdist" },
{ path = "conanfile.py", format = "sdist" },
# C extensions must be included in the wheel distribution.
{ path = "rby1_sdk/**/*.py", format = "wheel" },
{ path = "rby1_sdk/**/*.pyd", format = "wheel" },
{ path = "rby1_sdk/**/*.pyi", format = "wheel" },
{ path = "rby1_sdk/**/*.so", format = "wheel" },
]
[tool.poetry.build]
generate-setup-file = false
script = "build.py"
[tool.poetry.dependencies]
python = "^3.10"
grpcio = "1.65.2"
grpcio-tools = "1.65.2"
numpy = "^2.0.1"
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "v$major.$minor.$patch$prerelease"
version_scheme = "pep440"
version_provider = "poetry"
update_changelog_on_bump = true
major_version_zero = true
change_type_map = { "BREAKING CHANGE" = "❗ BREAKING CHANGE", "fix" = "🐛 Fixes", "feat" = "✨ Features", "docs" = "📖 Document", "style" = "👓 Style", "refactor" = "♻️ Refactor", "perf" = "⚡ Performance", "test" = "💯 Test", "build" = "🏗️ Build", "ci" = "🤖 CI" }
[build-system]
requires = [
"conan>=2.0.14",
"setuptools",
"scikit-build>=0.17.3",
"skbuild-conan",
"cmake>=3.28",
"ninja",
"pybind11-stubgen",
"poetry-core",
"numpy>=2.0.1"
]
build-backend = "poetry.core.masonry.api"