Zach Pearson
Zach Pearson
I found that if I took `(buffer-file-name)` out of the list of possibilities for program here: https://github.com/emacs-lsp/dap-mode/blob/496dd3a60f71a396df7e9a5ff6c500127d00ec03/dap-python.el#L174 I could launch my program without error or passed in filenames.
> It depends on the implementation. I cannot guarantee this will be merged, but feel free to open PR so other maintainers can review it. Sorry, I didn't mean to...
Yes, that's exactly the feature I'm asking for. Sorry for making a duplicate ticket, I'll close this one and continue discussion there. If you'd like to see what I've done...
Sorry, I should have clarified better that ``get_include()`` is from numpy and ``get_lib()`` is our addition :) In our packages it points to the ``lib`` directory.
I'm willing to write the PR on this, but could I get some guidance for conda vs PyPi? When I install packages via pip, typically the include and lib directories...
I don't think that method will work. On my machine, I see ``` /Users/runner/miniforge3/conda-bld/openmm_1646184856012/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_pl/lib ``` as the value of ``openmm.version.openmm_library_path``. That's clearly for a CI VM, but the idea is...
Because the include and lib folders are always right next to ``__init__.py``, we can do: ```python3 def get_include(): return os.path.join(os.path.dirname(__file__) + 'include') def get_lib(): return os.path.join(os.path.dirname(__file__) + 'lib') ```
I'll try it again, thanks!
It looks like the PyPi version correctly points at `/Users/zjp/git/rbvi/ChimeraX/ChimeraX.app/Contents/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/openmm/../OpenMM.libs/lib`. Sweet!