This commit is contained in:
David Soria Parra 2024-11-24 21:03:28 +00:00
commit 446072a2c0
No known key found for this signature in database
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,6 @@
[project] [project]
name = "create-mcp-server" name = "create-mcp-server"
version = "1.0.4.dev0" version = "1.0.5"
description = "Create an Model Context Protocol server project from a template." description = "Create an Model Context Protocol server project from a template."
readme = "README.md" readme = "README.md"
requires-python = ">=3.10" requires-python = ">=3.10"

View file

@ -24,6 +24,7 @@ class PyProject:
scripts = self.data["project"].get("scripts", {}) scripts = self.data["project"].get("scripts", {})
return next(iter(scripts.keys()), None) return next(iter(scripts.keys()), None)
def check_uv_version(required_version: str) -> str | None: def check_uv_version(required_version: str) -> str | None:
"""Check if uv is installed and has minimum version""" """Check if uv is installed and has minimum version"""
try: try:
@ -255,8 +256,6 @@ def check_package_name(name: str) -> bool:
return True return True
@click.command() @click.command()
@click.option( @click.option(
"--path", "--path",