"""
Setup script for Pentest MCP Server.
"""

from setuptools import setup, find_packages

with open("README.md", "r", encoding="utf-8") as fh:
    long_description = fh.read()

with open("requirements.txt", "r", encoding="utf-8") as fh:
    requirements = [line.strip() for line in fh if line.strip() and not line.startswith("#")]

setup(
    name="pentest-mcp-server",
    version="1.0.0",
    author="LayeSec006",
    author_email="",
    url="https://github.com/LayeSec006/pentest-mcp-server",
    description="MCP server for autonomous pentesting",
    long_description=long_description,
    long_description_content_type="text/markdown",
    packages=find_packages(),
    classifiers=[
        "Development Status :: Production/Stable",
        "Intended Audience :: Information Technology",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.10",
        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Topic :: Security",
        "Topic :: System :: Networking",
    ],
    python_requires=">=3.10",
    install_requires=requirements,
    project_urls={
        "Source": "https://github.com/LayeSec006/pentest-mcp-server",
        "Issues": "https://github.com/LayeSec006/pentest-mcp-server/issues",
        "Documentation": "https://github.com/LayeSec006/pentest-mcp-server#readme",
    },
    entry_points={
        "console_scripts": [
            "pentest-mcp=pentest_mcp_server:cli",
        ],
    },
)
