Skip to content

Commit 7482dc9

Browse files
authored
chore: update package management (#19)
1 parent 4ff7192 commit 7482dc9

File tree

5 files changed

+27
-39
lines changed

5 files changed

+27
-39
lines changed

issues_pr_analyser.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -269,9 +269,14 @@ def run(self):
269269
traceback.print_exc(file=sys.stderr)
270270

271271
def main():
272-
"""Entry point for the application."""
273-
review = PRIssueAnalyser()
274-
review.run()
272+
"""Entry point for the application script."""
273+
try:
274+
review = PRIssueAnalyser()
275+
review.run()
276+
except Exception as e:
277+
logging.error(f"Error running main analyzer: {str(e)}")
278+
traceback.print_exc()
279+
sys.exit(1)
275280

276281
if __name__ == "__main__":
277282
main()

pyproject.toml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
[project]
22
name = "mcp-github-pr-issue-analyser"
3-
version = "1.0.1"
3+
version = "1.5.2"
44
description = "MCP GitHub Issues Create/Update and PR Analyse"
55
readme = "README.md"
66
requires-python = ">=3.12"
7+
authors = [
8+
{name = "saidsef"}
9+
]
710
dependencies = [
8-
"mcp[cli]>=1.8.1,<2.0.0",
11+
"mcp[cli]==1.8.1",
912
"requests==2.32.3",
1013
"uv==0.7.5",
1114
]
15+
16+
[project.scripts]
17+
mcp-github-pr-issue-analyser = "issues_pr_analyser:main"
18+
19+
[project.urls]
20+
Homepage = "https://github.com/saidsef/mcp-github-pr-issue-analyser"
21+
Issues = "https://github.com/saidsef/mcp-github-pr-issue-analyser/issues"
22+
23+
[build-system]
24+
requires = ["setuptools>=61.0"]
25+
build-backend = "setuptools.build_meta"

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-i https://pypi.org/simple
2-
mcp[cli]==1.8.0
2+
mcp[cli]==1.8.1
33
requests==2.32.3
44
uv==0.7.5

setup.py

Lines changed: 0 additions & 31 deletions
This file was deleted.

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)