Skip to content

Add pymef recipe#32039

Open
bruAristimunha wants to merge 2 commits intoconda-forge:mainfrom
bruAristimunha:add-pymef
Open

Add pymef recipe#32039
bruAristimunha wants to merge 2 commits intoconda-forge:mainfrom
bruAristimunha:add-pymef

Conversation

@bruAristimunha
Copy link

@bruAristimunha bruAristimunha commented Jan 28, 2026

Summary

  • Adds pymef package recipe for conda-forge

Package Info

Description

Pymef is a wrapper library for Multiscale Electrophysiology Format (MEF) version 3.0, developed by the Mayo Systems Electrophysiology Laboratory. MEF is a medical data file format designed for storing neurophysiological electrographic data, such as intracranial EEG.

Technical Notes

  • The package contains C extensions that wrap the meflib C library
  • The meflib library is included as a git submodule in the pymef repository
  • Since GitHub tarballs don't include submodules, this recipe fetches both sources separately and copies the meflib source into place before building
  • PyPI only has wheel distributions (no sdist), so we build from the GitHub source

Motivation

This package is needed as a dependency for MNE-Python to support reading MEF3 format files. See the related PR: mne-tools/mne-python#13610

Checklist

  • License file is included
  • Source is from GitHub (tagged release)
  • Recipe builds with C compiler
  • Tests import the package

Pymef is a wrapper library for Multiscale Electrophysiology Format (MEF)
version 3.0, used for reading neurophysiological electrographic data.

The package contains C extensions that wrap the meflib C library, which
is included as a git submodule. This recipe fetches both the pymef source
and the meflib source separately to handle the submodule dependency.
@github-actions
Copy link
Contributor

Hi! This is the staged-recipes linter and your PR looks excellent! 🚀

@conda-forge-admin
Copy link
Contributor

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipes/pymef/meta.yaml) and found it was in an excellent condition.

setup.py expects include_dirs=["meflib/meflib"], so the meflib
source files need to be at meflib/meflib/ not meflib/.

Also fixed the path handling - conda-build strips the top-level
directory from tarballs when using folder:, so the content is
directly in meflib_src/ not meflib_src/meflib-<hash>/.

Tested locally on macOS ARM64 - builds successfully for
Python 3.10, 3.11, 3.12, and 3.13.
@bruAristimunha
Copy link
Author

This is ready for review @conda-forge-admin, please ping team

@conda-forge-webservices
Copy link

Hi! This is the friendly automated conda-forge-webservice.

I was asked to ping @conda-forge/staged-recipes and so here I am doing that.

@github-actions
Copy link
Contributor

To help direct your pull request to the best reviewers, please mention a topic-specifc team if your recipe matches any of the following: conda-forge/help-c-cpp, conda-forge/help-cdts, conda-forge/help-go, conda-forge/help-java, conda-forge/help-julia, conda-forge/help-nodejs, conda-forge/help-perl, conda-forge/help-python, conda-forge/help-python-c, conda-forge/help-r, conda-forge/help-ruby,or conda-forge/help-rust. Thanks!

@bruAristimunha
Copy link
Author

conda-forge/help-python I think?

@larsoner
Copy link
Contributor

@conda-forge/help-python, ready for review!

@larsoner
Copy link
Contributor

larsoner commented Feb 5, 2026

@conda-forge/help-python just a friendly reminder this PR is ready for review when you get a chance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants