From fc1af1cff377ce68a5d2c54a415084632b4e53ab Mon Sep 17 00:00:00 2001 From: Hsiao-Wei Wang Date: Tue, 25 May 2021 21:13:12 +0800 Subject: [PATCH] [pyspec] Use mainnet.py as the default spec --- setup.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8095e3b7f..77b38b640 100644 --- a/setup.py +++ b/setup.py @@ -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\n") class BuildPyCommand(build_py):