-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpyproject.toml
97 lines (91 loc) · 3.73 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
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
[project]
name = "rgb-lib"
version = "0.3.0a12"
description = "RGB Lib Python language bindings."
authors = [
{ name = "Zoe Faltibà", email = "[email protected]" },
{ name = "Nicola Busanello", email = "[email protected]" },
]
readme = "README.md"
keywords = ["rgb", "bitcoin"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Other/Nonlisted Topic",
]
requires-python = ">=3.9.0"
[project.urls]
homepage = "https://github.com/RGB-Tools/rgb-lib-python"
documentation = "https://github.com/RGB-Tools/rgb-lib-python"
repository = "https://github.com/RGB-Tools/rgb-lib-python"
[build-system]
requires = [
"poetry-core~=2.0.0",
]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
build = "build.py"
packages = [{ include = "rgb_lib" }]
include = [
# python package
{ path = "rgb_lib/*rgblibuniffi.*", format = "wheel" },
{ path = "rgb_lib/rgb_lib.py", format = "wheel" },
# cross
{ path = "cross/**/Cargo.*", format = "sdist" },
{ path = "cross/.cargo", format = "sdist" },
{ path = "cross/docker/*.aarch64-unknown-linux-gnu", format = "sdist" },
{ path = "cross/docker/*.x86_64-pc-windows-gnu", format = "sdist" },
{ path = "cross/docker/*.x86_64-unknown-linux-gnu", format = "sdist" },
{ path = "cross/docker/*linux*.sh", format = "sdist" },
{ path = "cross/docker/*linux-runner*", format = "sdist" },
{ path = "cross/docker/*native*", format = "sdist" },
{ path = "cross/docker/base*.sh", format = "sdist" },
{ path = "cross/docker/c*.sh", format = "sdist" },
{ path = "cross/docker/cross-toolchains/docker/*.aarch64-apple-darwin-cross", format = "sdist" },
{ path = "cross/docker/cross-toolchains/docker/*.x86_64-apple-darwin-cross", format = "sdist" },
{ path = "cross/docker/cross-toolchains/docker/darwin*", format = "sdist" },
{ path = "cross/docker/deny*.sh", format = "sdist" },
{ path = "cross/docker/drop*.sh", format = "sdist" },
{ path = "cross/docker/lib.sh", format = "sdist" },
{ path = "cross/docker/qemu.sh", format = "sdist" },
{ path = "cross/docker/win*.sh", format = "sdist" },
{ path = "cross/docker/xargo.sh", format = "sdist" },
{ path = "cross/src", format = "sdist" },
{ path = "cross/xtask", format = "sdist" },
# rgb-lib rust library
{ path = "rgb-lib/Cargo.*", format = "sdist" },
{ path = "rgb-lib/LICENSE", format = "sdist" },
{ path = "rgb-lib/README.md", format = "sdist" },
{ path = "rgb-lib/bindings/README.md", format = "sdist" },
{ path = "rgb-lib/bindings/uniffi/*.rs", format = "sdist" },
{ path = "rgb-lib/bindings/uniffi/*.toml", format = "sdist" },
{ path = "rgb-lib/bindings/uniffi/Cargo.lock", format = "sdist" },
{ path = "rgb-lib/bindings/uniffi/README.md", format = "sdist" },
{ path = "rgb-lib/bindings/uniffi/src/", format = "sdist" },
{ path = "rgb-lib/migration/", format = "sdist" },
{ path = "rgb-lib/src/*.rs", format = "sdist" },
{ path = "rgb-lib/src/api/", format = "sdist" },
{ path = "rgb-lib/src/database/", format = "sdist" },
{ path = "rgb-lib/src/wallet/*.rs", format = "sdist" },
]
[tool.poetry.group.dev.dependencies]
black = "^25.1.0"
flake8 = "^7.1.2"
pylint = "^3.3.4"
wheel = "^0.45.1"
[project.scripts]
build-packages = "build_packages:main"
setup-cross = "build_packages:reset_cross"
[tool.black]
line_length = 100
target_version = ["py39", "py310", "py311", "py312", "py313"]