36 lines
920 B
TOML
36 lines
920 B
TOML
|
|
[build-system]
|
||
|
|
requires = ["setuptools>=61.0", "wheel"]
|
||
|
|
build-backend = "setuptools.build_meta"
|
||
|
|
|
||
|
|
[project]
|
||
|
|
name = "mcp-python-manager"
|
||
|
|
version = "0.1.0"
|
||
|
|
description = "MCP Server for managing Python projects on Windows"
|
||
|
|
requires-python = ">=3.10"
|
||
|
|
readme = "README.md"
|
||
|
|
license = {text = "MIT"}
|
||
|
|
|
||
|
|
# These are the specific files that need to be installed as modules
|
||
|
|
# so that 'server.py' and its imports work inside the uvx environment.
|
||
|
|
dependencies = [
|
||
|
|
"mcp>=1.0.0",
|
||
|
|
"pydantic>=2.0.0",
|
||
|
|
"rich>=13.0.0",
|
||
|
|
"psutil>=5.9.0",
|
||
|
|
"shellingham>=1.5.0",
|
||
|
|
"autopep8",
|
||
|
|
"flake8",
|
||
|
|
"black",
|
||
|
|
"pytest",
|
||
|
|
]
|
||
|
|
|
||
|
|
[project.scripts]
|
||
|
|
# This defines the command 'mcp-python-manager' that runs server.run_server()
|
||
|
|
mcp-python-manager = "server:run_server"
|
||
|
|
|
||
|
|
# CRITICAL FIX: Explicitly include root-level Python modules
|
||
|
|
[tool.setuptools]
|
||
|
|
py-modules = ["server", "tools", "config"]
|
||
|
|
|
||
|
|
[tool.uv]
|
||
|
|
# Configuration for uv behavior
|