#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os
# Read the contents of README file
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
# Read requirements
with open(os.path.join(this_directory, 'requirements.txt'), encoding='utf-8') as f:
requirements = [line.strip() for line in f if line.strip() and not line.startswith('#')]
setup(
name="mcp-english-tutor",
version="1.0.0",
author="MCP English Tutor Team",
author_email="",
description="English tutoring 1-on-1 MCP server for Xiaozhi AI assistant",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/your-username/mcp-english-tutor",
packages=find_packages(),
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Education",
"Topic :: Software Development :: Libraries :: Python Modules",
],
python_requires=">=3.7",
install_requires=requirements,
extras_require={
"dev": [
"pytest>=6.0",
"pytest-asyncio>=0.18.0",
"black>=21.0",
"flake8>=3.8",
"mypy>=0.910",
],
},
entry_points={
"console_scripts": [
"mcp-english-tutor=english_tutor:main",
],
},
include_package_data=True,
zip_safe=False,
)