bluesky / hklpy

Diffractometer computation library with ophyd pseudopositioner support
https://blueskyproject.io/hklpy
BSD 3-Clause "New" or "Revised" License
4 stars 12 forks source link

"import gi" now handled internally #221

Closed prjemian closed 2 years ago

prjemian commented 2 years ago

Until this PR, it was necessary to call this:

import gi
gi.require_version('Hkl', '5.0')

before any import hkl. Created a problem for users. Now, it is handled internally.

Thanks @rodolakis and John Freeland for the questions.

prjemian commented 2 years ago

@mrakitin This is ready for review. It should be a big help so that users do not get the imports out of order.