mirror of
https://github.com/latinogino/dolibarr-mcp.git
synced 2026-04-21 09:42:41 +02:00
Clean up __init__.py - remove references to alternative servers
This commit is contained in:
@@ -1,26 +1,18 @@
|
||||
"""Dolibarr MCP - Model Context Protocol Server for Dolibarr ERP."""
|
||||
"""
|
||||
Dolibarr MCP Server Package
|
||||
|
||||
__version__ = "1.0.1"
|
||||
Professional Model Context Protocol server for complete Dolibarr ERP/CRM management.
|
||||
"""
|
||||
|
||||
__version__ = "1.0.0"
|
||||
__author__ = "Dolibarr MCP Team"
|
||||
|
||||
# Make the main function available at package level
|
||||
try:
|
||||
from .dolibarr_mcp_server import main
|
||||
except ImportError:
|
||||
# If relative import fails, we might be running directly
|
||||
import sys
|
||||
import os
|
||||
# Add parent directory to path
|
||||
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
from dolibarr_mcp.dolibarr_mcp_server import main
|
||||
from .dolibarr_client import DolibarrClient
|
||||
from .dolibarr_mcp_server import DolibarrMCPServer
|
||||
from .config import Config
|
||||
|
||||
# Export main components
|
||||
__all__ = [
|
||||
'main',
|
||||
'__version__',
|
||||
'__author__'
|
||||
"DolibarrClient",
|
||||
"DolibarrMCPServer",
|
||||
"Config",
|
||||
]
|
||||
|
||||
# Support both execution methods
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user