dgasmith / gau2grid

Fast computation of a gaussian and its derivative on a grid.
https://gau2grid.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
29 stars 15 forks source link

gau2grid/libgg.so.1 is missing from the plist #33

Open yurivict opened 5 years ago

yurivict commented 5 years ago

The --record plist python feature fails to add this file to the plist.

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: %%PYTHON_SITELIBDIR%%/gau2grid/libgg.so.1
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
*** Error code 1
yurivict commented 5 years ago

The right fix, IMO, is to remove this newly added file from the python binding (not from the C part). Versioned libraries are to control when dependent packages need to be updated, and this isn't needed for python bindings.

loriab commented 5 years ago

At present, since the separate py pkg was cooked up hastily, the gg.so lib is copied into the python pkg. That is, pygau2grid does not depend on gau2grid.