mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2025-12-31 20:36:24 +00:00
fix: added identify push to setup.py
This commit is contained in:
@ -35,10 +35,10 @@ from libp2p.peer.peerinfo import (
|
||||
)
|
||||
|
||||
# Configure logging
|
||||
logging.basicConfig(
|
||||
level=logging.DEBUG,
|
||||
format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
||||
)
|
||||
# logging.basicConfig(
|
||||
# level=logging.DEBUG,
|
||||
# format="%(asctime)s - %(name)s - %(levelname)s - %(message)s",
|
||||
# )
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
|
||||
@ -119,3 +119,9 @@ async def main() -> None:
|
||||
|
||||
if __name__ == "__main__":
|
||||
trio.run(main)
|
||||
|
||||
|
||||
# Non-async entry point for console script
|
||||
def run_main():
|
||||
"""Non-async entry point for the console script."""
|
||||
trio.run(main)
|
||||
|
||||
Reference in New Issue
Block a user