Add repo to pip package

This commit is contained in:
Lama 2025-07-08 19:49:17 -04:00
parent e5c87df088
commit d866184d86
4 changed files with 62 additions and 0 deletions

5
.gitignore vendored
View File

@ -18,6 +18,11 @@ __pycache__/
dist/ dist/
build/ build/
*.egg-info/ *.egg-info/
*.egg
*.whl
# PyPI
.pypirc
# Unit test / coverage reports # Unit test / coverage reports
htmlcov/ htmlcov/

6
MANIFEST.in Normal file
View File

@ -0,0 +1,6 @@
include README.md
include LICENSE
include requirements.txt
include .env.example
recursive-include kicad_mcp *.py
recursive-include docs *.md

View File

@ -1,4 +1,12 @@
""" """
KiCad MCP Server - A Model Context Protocol server for KiCad. KiCad MCP Server - A Model Context Protocol server for KiCad.
""" """
from .server import *
from .config import *
from .context import *
__version__ = "0.1.0" __version__ = "0.1.0"
__author__ = "Lama Al Rajih"
__description__ = "Model Context Protocol server for KiCad on Mac, Windows, and Linux"
__all__ = [] # TODO: need to finish this

43
pyproject.toml Normal file
View File

@ -0,0 +1,43 @@
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "kicad-mcp"
version = "0.1.0"
authors = [
{ name="Lama Al Rajih", email="your-email@example.com" },
]
description = "Model Context Protocol server for KiCad on Mac, Windows, and Linux"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)",
]
dependencies = [
"mcp[cli]",
"pandas",
]
keywords = ["kicad", "mcp", "model-context-protocol", "eda", "pcb"]
[project.urls]
"Homepage" = "https://github.com/lamaalrajih/kicad-mcp"
"Bug Tracker" = "https://github.com/lamaalrajih/kicad-mcp/issues"
"Documentation" = "https://github.com/lamaalrajih/kicad-mcp#readme"
[project.scripts]
kicad-mcp = "kicad_mcp.main:main"
[tool.setuptools.packages.find]
where = ["."]
include = ["kicad_mcp*"]
exclude = ["tests*", "docs*"]