Changing matlab installation path probing?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- build-system, tooling
Línea de trabajo
Start by reading setup.py to understand the current LD_LIBRARY_PATH probing and _arch.txt generation, then inspect matlab/init.py where the installation information is used. Compare using shutil.which and moving probing to runtime, while checking how wheel creation is affected. Done means installation is not tied to the runtime environment and MATLAB path changes remain supported.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
As it is matlabengine detects matlab installation path in the setup.py at installation time by checking paths in LD_LIBRARY_PATH.
This requires:
LD_LIBRARY_PATHto be defined- The installation process to be held in the same environment as it will used
Why not also using shutil.which to probe for the installation path of matlab rather than only relying on LD_LIBRARY_PATH?
What about moving this probing from setup.py (which goal is to produce the _arch.txt file) to matlab/__init__.py where this information is actually used? This would allow to make wheels and be resilient to changes in the path matlab is installed.
- Lenguaje dominante
- Python
- Estrellas
- 97
- Forks
- 13
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mathworks/matlab-engine-for-python
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
-
Support sparse arrayAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 42/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
-
Failed to build matlabengineAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
Todos los issues de mathworks/matlab-engine-for-python
Issues similares
-
good first issue hacktoberfest
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
RogueAlg0/taken#387 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
tool-calling
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
vllm-project/vllm#59838 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
raullenchai/Rapid-MLX#4042 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
transitmatters/mbta-slow-zone-bot#70 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
open-webui/open-webui#31871 · 1 comentario ·
Los mantenedores suelen responder en 1 día