[pyspec] Use mainnet.py as the default spec

This commit is contained in:
Hsiao-Wei Wang 2021-05-25 21:13:12 +08:00
parent f7da1a3834
commit fc1af1cff3
No known key found for this signature in database
GPG Key ID: 1111A8A81778319E

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\n")
class BuildPyCommand(build_py):