2025-01-06 01:26:03 +08:00
|
|
|
# Import built-in modules
|
|
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
|
|
|
2025-05-27 11:14:49 +08:00
|
|
|
PACKAGE_NAME = "pypi_query_mcp"
|
2025-01-06 01:26:03 +08:00
|
|
|
THIS_ROOT = Path(__file__).parent.parent
|
|
|
|
|
PROJECT_ROOT = THIS_ROOT.parent
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _assemble_env_paths(*paths):
|
|
|
|
|
"""Assemble environment paths separated by a semicolon.
|
|
|
|
|
|
|
|
|
|
Args:
|
|
|
|
|
*paths: Paths to be assembled.
|
|
|
|
|
|
|
|
|
|
Returns:
|
|
|
|
|
str: Assembled paths separated by a semicolon.
|
|
|
|
|
"""
|
|
|
|
|
return ";".join(paths)
|