Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
78 lines (69 loc) · 2.32 KB
/
Copy pathpyproject.toml
File metadata and controls
78 lines (69 loc) · 2.32 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
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8"]
build-backend = "setuptools.build_meta"
[project]
name = "ethereum-hive"
description = "Ethereum Hive Simulator Python API"
readme = "README.md"
authors = [{ name = "Mario Vega", email = "mario.vega@ethereum.org" }]
maintainers = [
{ name = "Mario Vega", email = "mario.vega@ethereum.org" },
{ name = "danceratopz", email = "danceratopz@ethereum.org" },
]
keywords = ["ethereum", "hive", "simulator", "testing", "blockchain"]
dynamic = ["version"]
license = { file = "LICENSE" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Testing",
"Topic :: System :: Networking",
"Topic :: Internet :: WWW/HTTP :: HTTP Servers",
"Operating System :: OS Independent",
]
requires-python = ">=3.11"
dependencies = ["requests>=2.31.0,<3", "urllib3>=1.26.0,<3"]
[project.urls]
Homepage = "https://github.com/ethereum/hive-python-api"
Repository = "https://github.com/ethereum/hive-python-api"
Issues = "https://github.com/ethereum/hive-python-api/issues"
Documentation = "https://github.com/ethereum/hive-python-api#readme"
[project.optional-dependencies]
test = ["pytest>=8.4.0,<9", "pytest-cov>=4.1.0,<5"]
lint = [
"black>=23.1.0; implementation_name == 'cpython'",
"isort>=5.8,<6",
"mypy>=1.4.1,<2",
"types-requests>=2.25.0,<3",
]
dev = ["setuptools-scm"]
[tool.setuptools.packages.find]
where = ["src"]
exclude = ["*tests*"]
[tool.setuptools_scm]
version_scheme = "post-release"
local_scheme = "dirty-tag"
[tool.isort]
profile = "black"
multi_line_output = 3
line_length = 99
[tool.black]
line-length = 99
target-version = ["py311"]
[tool.pytest.ini_options]
console_output_style = "count"
minversion = "7.0"
testpaths = ["src"]
# pypi test index; use `uv publish --index testpypi` to publish to this index
# uv publish will default to the production pypi index by default
# https://docs.astral.sh/uv/guides/package/#publishing-your-package
#
# [[tool.uv.index]]
# name = "testpypi"
# url = "https://test.pypi.org/simple/"
# publish-url = "https://test.pypi.org/legacy/"
# explicit = true