Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pin_run_as_build:
python:
- 3.10.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pin_run_as_build:
python:
- 3.11.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pin_run_as_build:
python:
- 3.12.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pin_run_as_build:
python:
- 3.9.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pin_run_as_build:
python:
- 3.10.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pin_run_as_build:
python:
- 3.11.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pin_run_as_build:
python:
- 3.12.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ pin_run_as_build:
python:
- 3.9.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- linux-64
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pin_run_as_build:
python:
- 3.10.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- osx-64
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pin_run_as_build:
python:
- 3.11.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- osx-64
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pin_run_as_build:
python:
- 3.12.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- osx-64
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pin_run_as_build:
python:
- 3.9.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- osx-64
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pin_run_as_build:
python:
- 3.10.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- osx-64
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pin_run_as_build:
python:
- 3.11.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- osx-64
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pin_run_as_build:
python:
- 3.12.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- osx-64
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ pin_run_as_build:
python:
- 3.9.* *_cpython
python_min:
- '3.10'
- '3.9'
target_platform:
- osx-64
5 changes: 5 additions & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .scripts/run_docker_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 35 additions & 20 deletions build-locally.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
build_variant:
- "pyqt"
- "pyside6"
python_min:
- "3.10"
11 changes: 10 additions & 1 deletion recipe/menu/open_prompt.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
:: This is used to initialize the bash prompt on Windows.
@ECHO OFF

call %__PREFIX__%\Scripts\Activate.bat
:: Workaround for
:: https://github.com/conda/conda/issues/14884
set "CONDA_EXE=#PREFIX#\Scripts\conda.exe"
call "#PREFIX#\Scripts\Activate.bat"
:: Find first Python on path.
FOR /F "tokens=*" %%g IN ('where python') do (
SET PYPATH=%%g
goto :endloop
)
:endloop
FOR /F "tokens=*" %%g IN ('python --version') do (SET PYVER=%%g)
FOR /F "tokens=*" %%g IN ('where python') do (SET PYPATH=%%g)
FOR /F "tokens=*" %%g IN ('mne --version') do (SET MNEVER=%%g)
Expand Down
13 changes: 9 additions & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{% set name = "mne-python" %}
{% set version = "1.9.0" %}
{% set sha256 = "101967698b005a7f9071586e0469aebc83fe06f48717a95f3382a6f99c591162" %}
{% set build = 1 %}
{% set build = 2 %}
{% set python_min = "3.10" %}

# Adapted from https://github.com/conda-forge/vtk-feedstock/blob/main/recipe/meta.yaml
# PySide6 is lower priority than PyQt5 for backward compat (e.g., with matplotlib,
Expand All @@ -20,7 +21,6 @@ source:

build:
number: {{ build }}
string: "{{ build_variant }}_h{{ PKG_HASH }}_{{ build }}"

outputs:
- name: mne-base
Expand Down Expand Up @@ -49,7 +49,6 @@ outputs:
- decorator
- packaging
- jinja2
- importlib_resources >=5.10.2 # [py<=39]
- lazy_loader >=0.3

test:
Expand All @@ -59,15 +58,20 @@ outputs:
- pip check # [not win]
- mne --version
requires:
- python {{ python_min }}
- pip

- name: mne
build:
string: "{{ build_variant }}_h{{ PKG_HASH }}_{{ build }}"
string: "osx_{{ build_variant }}_h{{ PKG_HASH }}_{{ build }}" # [osx]
string: "linux_{{ build_variant }}_h{{ PKG_HASH }}_{{ build }}" # [linux]
noarch: python

requirements:
host:
- python {{ python_min }}
run:
- python >={{ python_min }}
- {{ pin_subpackage('mne-base', max_pin="x.x.x.x") }}
- __osx # [osx]
- pyobjc-framework-cocoa >=5.2.0 # [osx] # for setting Dock icons etc
Expand Down Expand Up @@ -117,6 +121,7 @@ outputs:
- pip check # [not win]
- mne --version
requires:
- python {{ python_min }}
- pip

- name: mne-installer-menus
Expand Down