diff --git a/lbry-comment-server/__init__.py b/lbry-comment-server/__init__.py new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/lbry-comment-server/__init__.py @@ -0,0 +1 @@ + diff --git a/src/conf.py b/lbry-comment-server/conf.py similarity index 100% rename from src/conf.py rename to lbry-comment-server/conf.py diff --git a/src/database.py b/lbry-comment-server/database.py similarity index 100% rename from src/database.py rename to lbry-comment-server/database.py diff --git a/src/server.py b/lbry-comment-server/server.py similarity index 99% rename from src/server.py rename to lbry-comment-server/server.py index d616ad0..e635fac 100644 --- a/src/server.py +++ b/lbry-comment-server/server.py @@ -95,6 +95,7 @@ class CommentServer: }) + if __name__ == '__main__': app = CommentServer() asyncio.run(app.run()) diff --git a/src/__init__.py b/src/__init__.py deleted file mode 100644 index 17f8ed7..0000000 --- a/src/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -from src.database import DatabaseConnection -from src.conf import database_dir, anonymous