Skip to content

Commit 10a2490

Browse files
authored
chore: refactored project structure (#25)
1 parent 648def9 commit 10a2490

File tree

7 files changed

+6
-7
lines changed

7 files changed

+6
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV MCP_ENABLE_REMOTE="true"
1010

1111
WORKDIR /app
1212

13-
COPY requirements.txt github_integration.py ip_integration.py issues_pr_analyser.py /app
13+
COPY requirements.txt src/github_integration.py src/ip_integration.py src/issues_pr_analyser.py /app/
1414

1515
RUN pip install --no-cache-dir -r requirements.txt
1616

pyproject.toml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mcp-github-pr-issue-analyser"
3-
version = "1.6.4"
3+
version = "2.0.1"
44
description = "MCP GitHub Issues Create/Update and PR Analyse"
55
readme = "README.md"
66
requires-python = ">=3.12"
@@ -13,17 +13,16 @@ dependencies = [
1313
]
1414

1515
[project.scripts]
16-
mcp-github-pr-issue-analyser = "mcp_github_pr_issue_analyser.issues_pr_analyser:main"
16+
mcp-github-pr-issue-analyser = "src.issues_pr_analyser:main"
1717

1818
[project.urls]
1919
Homepage = "https://github.com/saidsef/mcp-github-pr-issue-analyser"
2020
Issues = "https://github.com/saidsef/mcp-github-pr-issue-analyser/issues"
2121

2222
[tool.setuptools]
23-
# Configure package/module discovery
2423
[tool.setuptools.packages.find]
25-
where = ["."] # Look in the project root directory
26-
include = ["mcp_github_pr_issue_analyser*", "issues_pr_analyser", "ip_integration", "github_integration"] # Specify modules to include
24+
where = ["src"] # Look in the src directory
25+
include = ["*"] # Include all packages/modules in src
2726

2827
[build-system]
2928
requires = ["setuptools>=61.0","uv>=0.7.6"]

src/__init__.py

Whitespace-only changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)