Skip to content

Changing matlab installation path probing? #45

Description

@t20100

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_PATH to 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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions