Skip to content

Commit 7631b97

Browse files
souradeep-dasSamWilsn
authored andcommitted
remove setup.cfg
1 parent 16762ec commit 7631b97

File tree

5 files changed

+245
-249
lines changed

5 files changed

+245
-249
lines changed

.flake8

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
[flake8]
2+
dictionaries=en_US,python,technical
3+
docstring-convention = all
4+
extend-ignore =
5+
U101
6+
E203
7+
D107
8+
D200
9+
D203
10+
D205
11+
D212
12+
D400
13+
D401
14+
D410
15+
D411
16+
D412
17+
D413
18+
D414
19+
D415
20+
D416
21+
22+
extend-exclude =
23+
doc/
24+
tests/fixtures/
25+
26+
per-file-ignores =
27+
tests/*:D100,D101,D103,D104,E501,SC100,SC200
28+
29+
unused-arguments-ignore-abstract-functions = true
30+
unused-arguments-ignore-override-functions = true
31+
unused-arguments-ignore-overload-functions = true
32+
unused-arguments-ignore-dunder = true

pyproject.toml

Lines changed: 208 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,214 @@
11
[build-system]
2-
requires = ["setuptools", "wheel"]
2+
requires = ["setuptools>=61", "wheel"]
33
build-backend = "setuptools.build_meta"
44

5+
[project]
6+
name = "ethereum-execution"
7+
description = "Ethereum execution layer specification, provided as a Python package for tooling and testing"
8+
readme = "README.md"
9+
requires-python = ">=3.11"
10+
dynamic = ["version"]
11+
license = { file = "LICENSE.md" }
12+
urls = { "Homepage" = "https://github.com/ethereum/execution-specs" }
13+
classifiers = [
14+
"License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
15+
"Programming Language :: Python :: 3",
16+
"Programming Language :: Python :: 3.11",
17+
"Programming Language :: Python :: Implementation :: PyPy",
18+
"Programming Language :: Python :: Implementation :: CPython",
19+
"Intended Audience :: Developers",
20+
"Natural Language :: English",
21+
]
22+
dependencies = [
23+
"pycryptodome>=3.22,<4",
24+
"coincurve>=20,<21",
25+
"typing_extensions>=4.4",
26+
"py-ecc>=8.0.0b2,<9",
27+
"ethereum-types>=0.2.1,<0.3",
28+
"ethereum-rlp>=0.1.4,<0.2",
29+
"cryptography>=45.0.1,<46",
30+
]
31+
32+
[tool.setuptools]
33+
package-dir = {"" = "src"}
34+
packages = [
35+
"ethereum_spec_tools",
36+
"ethereum_spec_tools.evm_tools",
37+
"ethereum_spec_tools.evm_tools.t8n",
38+
"ethereum_spec_tools.evm_tools.b11r",
39+
"ethereum_spec_tools.evm_tools.statetest",
40+
"ethereum_spec_tools.evm_tools.loaders",
41+
"ethereum_spec_tools.lint",
42+
"ethereum_spec_tools.lint.lints",
43+
"ethereum",
44+
"ethereum.frontier",
45+
"ethereum.frontier.utils",
46+
"ethereum.frontier.vm",
47+
"ethereum.frontier.vm.instructions",
48+
"ethereum.frontier.vm.precompiled_contracts",
49+
"ethereum.utils",
50+
"ethereum.crypto",
51+
"ethereum_optimized",
52+
"ethereum.homestead",
53+
"ethereum.homestead.utils",
54+
"ethereum.homestead.vm",
55+
"ethereum.homestead.vm.instructions",
56+
"ethereum.homestead.vm.precompiled_contracts",
57+
"ethereum.dao_fork",
58+
"ethereum.dao_fork.utils",
59+
"ethereum.dao_fork.vm",
60+
"ethereum.dao_fork.vm.instructions",
61+
"ethereum.dao_fork.vm.precompiled_contracts",
62+
"ethereum.tangerine_whistle",
63+
"ethereum.tangerine_whistle.utils",
64+
"ethereum.tangerine_whistle.vm",
65+
"ethereum.tangerine_whistle.vm.instructions",
66+
"ethereum.tangerine_whistle.vm.precompiled_contracts",
67+
"ethereum.spurious_dragon",
68+
"ethereum.spurious_dragon.utils",
69+
"ethereum.spurious_dragon.vm",
70+
"ethereum.spurious_dragon.vm.instructions",
71+
"ethereum.spurious_dragon.vm.precompiled_contracts",
72+
"ethereum.byzantium",
73+
"ethereum.byzantium.utils",
74+
"ethereum.byzantium.vm",
75+
"ethereum.byzantium.vm.instructions",
76+
"ethereum.byzantium.vm.precompiled_contracts",
77+
"ethereum.constantinople",
78+
"ethereum.constantinople.utils",
79+
"ethereum.constantinople.vm",
80+
"ethereum.constantinople.vm.instructions",
81+
"ethereum.constantinople.vm.precompiled_contracts",
82+
"ethereum.istanbul",
83+
"ethereum.istanbul.utils",
84+
"ethereum.istanbul.vm",
85+
"ethereum.istanbul.vm.instructions",
86+
"ethereum.istanbul.vm.precompiled_contracts",
87+
"ethereum.muir_glacier",
88+
"ethereum.muir_glacier.utils",
89+
"ethereum.muir_glacier.vm",
90+
"ethereum.muir_glacier.vm.instructions",
91+
"ethereum.muir_glacier.vm.precompiled_contracts",
92+
"ethereum.berlin",
93+
"ethereum.berlin.utils",
94+
"ethereum.berlin.vm",
95+
"ethereum.berlin.vm.instructions",
96+
"ethereum.berlin.vm.precompiled_contracts",
97+
"ethereum.london",
98+
"ethereum.london.utils",
99+
"ethereum.london.vm",
100+
"ethereum.london.vm.instructions",
101+
"ethereum.london.vm.precompiled_contracts",
102+
"ethereum.arrow_glacier",
103+
"ethereum.arrow_glacier.utils",
104+
"ethereum.arrow_glacier.vm",
105+
"ethereum.arrow_glacier.vm.instructions",
106+
"ethereum.arrow_glacier.vm.precompiled_contracts",
107+
"ethereum.gray_glacier",
108+
"ethereum.gray_glacier.utils",
109+
"ethereum.gray_glacier.vm",
110+
"ethereum.gray_glacier.vm.instructions",
111+
"ethereum.gray_glacier.vm.precompiled_contracts",
112+
"ethereum.paris",
113+
"ethereum.paris.utils",
114+
"ethereum.paris.vm",
115+
"ethereum.paris.vm.instructions",
116+
"ethereum.paris.vm.precompiled_contracts",
117+
"ethereum.shanghai",
118+
"ethereum.shanghai.utils",
119+
"ethereum.shanghai.vm",
120+
"ethereum.shanghai.vm.instructions",
121+
"ethereum.shanghai.vm.precompiled_contracts",
122+
"ethereum.cancun",
123+
"ethereum.cancun.utils",
124+
"ethereum.cancun.vm",
125+
"ethereum.cancun.vm.instructions",
126+
"ethereum.cancun.vm.precompiled_contracts",
127+
"ethereum.prague",
128+
"ethereum.prague.utils",
129+
"ethereum.prague.vm",
130+
"ethereum.prague.vm.instructions",
131+
"ethereum.prague.vm.precompiled_contracts",
132+
"ethereum.prague.vm.precompiled_contracts.bls12_381",
133+
"ethereum.osaka",
134+
"ethereum.osaka.utils",
135+
"ethereum.osaka.vm",
136+
"ethereum.osaka.vm.instructions",
137+
"ethereum.osaka.vm.precompiled_contracts",
138+
"ethereum.osaka.vm.precompiled_contracts.bls12_381",
139+
]
140+
141+
[tool.setuptools.package-data]
142+
"ethereum" = [
143+
"py.typed",
144+
"assets/mainnet.json",
145+
"assets/mainnet_genesis_alloc_rlp.hex",
146+
"assets/cache_sizes_2048_epochs.json",
147+
"assets/dataset_sizes_2048_epochs.json",
148+
"assets/blocks/block_1.json",
149+
"assets/blocks/block_1234567.json",
150+
"assets/blocks/block_12964999.json",
151+
]
152+
"ethereum_spec_tools" = ["py.typed"]
153+
154+
[project.optional-dependencies]
155+
test = [
156+
"pytest>=7.4.0,<8",
157+
"pytest-cov>=4.1.0,<5",
158+
"pytest-xdist>=3.3.1,<4",
159+
"GitPython>=3.1.0,<3.2",
160+
"filelock>=3.12.3,<3.13",
161+
"requests",
162+
"requests-cache>=1.2.1,<2",
163+
]
164+
165+
lint = [
166+
"types-setuptools>=68.1.0.1,<69",
167+
"isort==5.13.2",
168+
"mypy==1.14.1",
169+
"black==23.12.0",
170+
"flake8==6.1.0",
171+
"flake8-bugbear==23.12.2",
172+
"flake8-docstrings==1.7.0",
173+
"flake8-spellcheck==0.28.0",
174+
"flake8-unused-arguments==0.0.13",
175+
"vulture==2.14.0",
176+
]
177+
178+
tools = [
179+
"platformdirs>=4.2,<5",
180+
]
181+
doc = [
182+
"docc>=0.3.0,<0.4.0",
183+
"fladrif>=0.2.0,<0.3.0",
184+
]
185+
optimized = [
186+
"rust-pyspec-glue>=0.0.9,<0.1.0",
187+
"ethash>=1.1.0,<2",
188+
]
189+
190+
191+
[tool.setuptools.dynamic]
192+
version = { attr = "ethereum.__version__" }
193+
194+
[project.scripts]
195+
ethereum-spec-lint = "ethereum_spec_tools.lint:main"
196+
ethereum-spec-sync = "ethereum_spec_tools.sync:main"
197+
ethereum-spec-new-fork = "ethereum_spec_tools.new_fork:main"
198+
ethereum-spec-patch = "ethereum_spec_tools.patch_tool:main"
199+
ethereum-spec-evm = "ethereum_spec_tools.evm_tools:main"
200+
201+
[project.entry-points."docc.plugins"]
202+
"ethereum_spec_tools.docc.discover" = "ethereum_spec_tools.docc:EthereumDiscover"
203+
"ethereum_spec_tools.docc.build" = "ethereum_spec_tools.docc:EthereumBuilder"
204+
"ethereum_spec_tools.docc.fix-indexes" = "ethereum_spec_tools.docc:FixIndexTransform"
205+
"ethereum_spec_tools.docc.minimize-diffs" = "ethereum_spec_tools.docc:MinimizeDiffsTransform"
206+
207+
[project.entry-points."docc.plugins.html"]
208+
"ethereum_spec_tools.docc:DiffNode" = "ethereum_spec_tools.docc:render_diff"
209+
"ethereum_spec_tools.docc:BeforeNode" = "ethereum_spec_tools.docc:render_before_after"
210+
"ethereum_spec_tools.docc:AfterNode" = "ethereum_spec_tools.docc:render_before_after"
211+
5212
[tool.isort]
6213
profile = "black"
7214
multi_line_output = 3

0 commit comments

Comments
 (0)