-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
114 lines (105 loc) · 2.37 KB
/
pyproject.toml
File metadata and controls
114 lines (105 loc) · 2.37 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
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.poetry]
name = "tac-sdk"
version = "0.1.1"
description = "Python TAC SDK"
readme = "README.md"
license = "MIT"
keywords = ["tac", "ton", "evm", "bridge", "sdk"]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries",
]
packages = [
{ include = "abi" },
{ include = "adapters" },
{ include = "artifacts" },
{ include = "assets" },
{ include = "errors" },
{ include = "helpers" },
{ include = "interfaces" },
{ include = "sdk" },
{ include = "sender" },
{ include = "structs" },
{ include = "ton_get_methods" },
{ include = "wrappers" },
# Root-level files to include
{ include = "__init__.py" },
{ include = ".env.example" },
{ include = "HOWTO_ARTIFACTS_PY.md" },
{ include = "LICENSE" },
{ include = "README.md" },
]
exclude = [
"artifacts_submodules",
"artifacts_submodules/**/*",
"scripts",
"tests",
".env",
".gitignore",
".gitmodules",
".pyright.strict.json",
"pyrightconfig.json",
"pytest.ini",
"tac_sdk.egg-info",
]
[tool.poetry.urls]
Homepage = "https://github.com/TacBuild/python-tac-sdk"
Repository = "https://github.com/TacBuild/python-tac-sdk"
Issues = "https://github.com/TacBuild/python-tac-sdk/issues"
[tool.poetry.dependencies]
python = ">=3.11,<4"
pytoniq = "^0.1.39"
pytoniq-core = "^0.1.39"
pycryptodomex = "^3.20"
python-dotenv = "^1.0"
requests = "^2.31"
setuptools = ">=68"
web3 = "^7.14"
eth-account = "^0.13"
[tool.poetry.group.dev.dependencies]
pytvm = "0.0.11" # Last version with Linux wheels
pytest = "^9.0"
pytest-asyncio = "^1.0.0"
ruff = "^0.9"
pyright = "^1.1"
types-requests = "^2.31"
# linting (ruff)
[tool.ruff]
target-version = "py311"
line-length = 120
exclude = [
".venv",
"artifacts_submodules",
"artifacts",
"tac_sdk.egg-info",
]
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "N"]
ignore = [
"E501",
"N801",
"N802",
"N803",
"N815",
"N816",
"N812",
"N813",
"UP007",
"UP035",
"UP042",
"UP045",
"UP046"
]
# test (pytest)
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
asyncio_mode = "auto"