-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
59 lines (51 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
59 lines (51 loc) · 1.88 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
[build-system]
requires = ["conan-py-build>=0.6.1", "cmake"]
build-backend = "conan_py_build.build"
[project]
name = "raknet"
version = "0.4.0"
authors = [
{ name = "Vincent Wu", email = "magicdroidx@gmail.com" }
]
description = "Python bindings for the RakNet networking library with synchronous and asyncio APIs"
readme = "README.md"
requires-python = ">=3.12"
keywords = ["raknet", "networking", "udp", "minecraft", "bedrock", "asyncio"]
license-files = ["LICENSE"]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Programming Language :: C++",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: System :: Networking",
]
[project.urls]
Homepage = "https://github.com/EndstoneMC/raknet-python"
Issues = "https://github.com/EndstoneMC/raknet-python/issues"
[tool.conan-py-build]
extra-profile = "cpp17.profile"
[tool.conan-py-build.sdist]
include = ["cpp17.profile"]
[tool.pytest.ini_options]
testpaths = ["tests"]
[tool.ruff]
line-length = 120
extend-exclude = ["*.md"]
lint.select = ["E", "F", "I"]
[tool.cibuildwheel]
# One abi3 wheel per platform; the cp312-abi3 tag is pinned in cpp17.profile.
# raknet/4.081-mojang matches the BDS ABI, which only ships on Windows and Linux x86-64.
# musllinux is skipped: RakNet overflows musl's small (128 KB) non-main-thread stacks and segfaults.
build = "cp312-*"
skip = ["*-musllinux*"]
archs = ["auto64"]
build-verbosity = 1
test-requires = "pytest"
test-command = "pytest {project}/tests"
# The raknet recipe lives on the endstone remote; conan-py-build builds it with --build=missing.
before-build = "pip install conan && conan remote add endstone https://conan.cloudsmith.io/endstone/conan/ --index 0 --force"
[tool.cibuildwheel.linux]
manylinux-x86_64-image = "manylinux_2_28"