setup.py•3.06 kB
#!/usr/bin/env python3
"""
Setup script for API Manager MCP Server
"""
from setuptools import setup, find_packages
from pathlib import Path
# Read the README file
this_directory = Path(__file__).parent
long_description = (this_directory / "README.md").read_text(encoding='utf-8')
# Read requirements
requirements = []
requirements_path = this_directory / "requirements.txt"
if requirements_path.exists():
with open(requirements_path, 'r', encoding='utf-8') as f:
requirements = [
line.strip() for line in f
if line.strip() and not line.startswith('#')
]
setup(
name="api-manager-mcp-server",
version="1.2.0",
author="API Manager Team",
author_email="your-email@example.com",
description="Enhanced MCP server for managing API keys securely with Claude Desktop and Claude Code",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yourusername/API_Manager_MCPServer",
project_urls={
"Bug Tracker": "https://github.com/yourusername/API_Manager_MCPServer/issues",
"Documentation": "https://api-manager-mcp.readthedocs.io/",
"Source Code": "https://github.com/yourusername/API_Manager_MCPServer",
},
packages=find_packages(),
py_modules=["api_manager"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security :: Cryptography",
"Topic :: System :: Systems Administration",
"Topic :: Utilities",
],
python_requires=">=3.8",
install_requires=[
"mcp>=1.0.0",
],
extras_require={
"dev": [
"pytest>=7.0.0",
"pytest-asyncio>=0.21.0",
"pytest-cov>=4.0.0",
"black>=23.0.0",
"flake8>=6.0.0",
"mypy>=1.0.0",
],
"docs": [
"mkdocs>=1.5.0",
"mkdocs-material>=9.0.0",
],
"security": [
"cryptography>=41.0.0",
],
"enhanced": [
"pydantic>=2.0.0",
"click>=8.0.0",
],
},
entry_points={
"console_scripts": [
"api-manager-mcp=api_manager:main",
],
},
include_package_data=True,
package_data={
"": ["*.md", "*.txt", "*.json", "*.yaml", "*.yml"],
},
zip_safe=False,
keywords=[
"mcp",
"api-keys",
"claude",
"anthropic",
"security",
"management",
"environment",
"configuration",
],
platforms=["any"],
)