Skip to content

Commit 234583c

Browse files
HanSur94claude
andcommitted
feat: split conda into environment.yml (PyPI) and environment-dev.yml (local source)
- environment.yml: standalone install from PyPI — works without repo clone - environment-dev.yml: developer install from local source with dev deps - CI conda-test job uses environment-dev.yml Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 403ac37 commit 234583c

3 files changed

Lines changed: 28 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ jobs:
127127
- uses: actions/checkout@v4
128128
- uses: conda-incubator/setup-miniconda@v3
129129
with:
130-
activate-environment: matlab-mcp
131-
environment-file: environment.yml
130+
activate-environment: matlab-mcp-dev
131+
environment-file: environment-dev.yml
132132
auto-activate-base: false
133133
python-version: "3.12"
134134
- name: Verify all modules load

environment-dev.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Developer install — requires repo clone (installs from local source).
2+
# Includes dev dependencies (pytest, ruff, etc).
3+
#
4+
# Usage:
5+
# git clone https://github.com/HanSur94/matlab-mcp-server-python.git
6+
# cd matlab-mcp-server-python
7+
# conda env create -f environment-dev.yml
8+
# conda activate matlab-mcp-dev
9+
# pytest tests/ -x -q
10+
name: matlab-mcp-dev
11+
channels:
12+
- conda-forge
13+
- defaults
14+
dependencies:
15+
- python=3.12
16+
- pip
17+
- pip:
18+
- -e ".[dev,monitoring]"

environment.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# Standalone install — works without cloning the repo.
2+
# Downloads matlab-mcp-python from PyPI.
3+
#
4+
# Usage:
5+
# conda env create -f environment.yml
6+
# conda activate matlab-mcp
7+
# matlab-mcp --inspect
18
name: matlab-mcp
29
channels:
310
- conda-forge
@@ -6,4 +13,4 @@ dependencies:
613
- python=3.12
714
- pip
815
- pip:
9-
- -e ".[dev,monitoring]"
16+
- matlab-mcp-python[monitoring]

0 commit comments

Comments
 (0)