mirror of
https://github.com/haris-musa/excel-mcp-server.git
synced 2025-12-08 08:42:30 +08:00
chore: update Python version to 3.10 and bump package version to 0.1.3 in pyproject.toml and server.py; modify GitHub Actions workflow to use hatch for building (#29)
This commit is contained in:
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
@ -22,13 +22,13 @@ jobs:
|
||||
with:
|
||||
python-version: "3.x"
|
||||
|
||||
- name: Install build dependencies
|
||||
- name: Install hatch dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install build
|
||||
pip install hatch
|
||||
|
||||
- name: Build package
|
||||
run: python -m build
|
||||
run: hatch build
|
||||
|
||||
- name: Publish to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
|
||||
@ -1 +1 @@
|
||||
3.12
|
||||
3.10
|
||||
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "excel-mcp-server"
|
||||
version = "0.1.2"
|
||||
version = "0.1.3"
|
||||
description = "Excel MCP Server for manipulating Excel files"
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.10"
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
import asyncio
|
||||
import typer
|
||||
from typing import Optional
|
||||
|
||||
from .server import run_sse, run_stdio
|
||||
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
import logging
|
||||
import sys
|
||||
import os
|
||||
from typing import Any, List, Dict
|
||||
|
||||
@ -44,7 +43,6 @@ from excel_mcp.sheet import (
|
||||
ROOT_DIR = os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
|
||||
LOG_FILE = os.path.join(ROOT_DIR, "excel-mcp.log")
|
||||
|
||||
|
||||
# Initialize EXCEL_FILES_PATH variable without assigning a value
|
||||
EXCEL_FILES_PATH = None
|
||||
|
||||
@ -62,7 +60,7 @@ logger = logging.getLogger("excel-mcp")
|
||||
# Initialize FastMCP server
|
||||
mcp = FastMCP(
|
||||
"excel-mcp",
|
||||
version="0.1.2",
|
||||
version="0.1.3",
|
||||
description="Excel MCP Server for manipulating Excel files",
|
||||
dependencies=["openpyxl>=3.1.2"],
|
||||
env_vars={
|
||||
|
||||
Reference in New Issue
Block a user