Skip to content

Commit

Permalink
Make ROOT load libraries without the .so extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcarcell committed Jul 10, 2024
1 parent 1fc075d commit ce8238f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ To load the Python bindings from a generated C++ model dictionary, first make su
```python
import ROOT

res = ROOT.gSystem.Load('libGeneratedModelDict.so')
res = ROOT.gSystem.Load('libGeneratedModelDict')
if res < 0:
raise RuntimeError('Failed to load libGeneratedModelDict.so')
```
Expand Down
2 changes: 1 addition & 1 deletion tests/write_frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import ROOT

if ROOT.gSystem.Load("libTestDataModelDict.so") < 0: # noqa: E402
if ROOT.gSystem.Load("libTestDataModelDict") < 0: # noqa: E402
raise RuntimeError("Could not load TestDataModel dictionary")

from ROOT import ( # pylint: disable=wrong-import-position
Expand Down

0 comments on commit ce8238f

Please sign in to comment.