[opensuse-factory] python module with C-code
Good morning, [trying my luck in factory, as I know here are some python-gurus] I'm in desperate need of a grib file converter (weather data) and wanted to build pygrib: https://build.opensuse.org/package/show/home:DocB:Tryton5/python-pygrib I get it compiling, but it seems there is some issue with including the C- library - it does not find the pygrib module during testing. Do I 'just' need to link it into %{python_sitelib} ? Thanks Axel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Axel Braun píše v Čt 22. 08. 2019 v 10:15 +0200:
Good morning,
[trying my luck in factory, as I know here are some python-gurus]
I'm in desperate need of a grib file converter (weather data) and wanted to build pygrib: https://build.opensuse.org/package/show/home:DocB:Tryton5/python-pygr ib
I get it compiling, but it seems there is some issue with including the C- library - it does not find the pygrib module during testing. Do I 'just' need to link it into %{python_sitelib} ?
Hi, Just use %pytest_arch macro instead of %pytest in %check. Basically the PYTHON_SITELIB needs to point to the /usr/lib64... Cheers Tom
participants (2)
-
Axel Braun
-
Tomas Chvatal