Merge pull request #2441 from ethereum/default-spec

[pyspec] Use mainnet.py as the default spec
This commit is contained in:
Diederik Loerakker
2021-05-25 17:54:20 +02:00
committed by GitHub

View File

@@ -912,7 +912,8 @@ class PySpecCommand(Command):
if not self.dry_run:
with open(os.path.join(self.out_dir, '__init__.py'), 'w') as out:
out.write("")
# `mainnet` is the default spec.
out.write("from . import mainnet as spec # noqa:F401\n")
class BuildPyCommand(build_py):