The original warning system meant a warning was generated on every import, even
if the relevant libraries weren't intended for use. By importing once we load
sub datacite_doi we can check the repository configuration and only warn
conditionally based on configuration.
The original warning system meant a warning was generated on every import, even if the relevant libraries weren't intended for use. By importing once we load sub datacite_doi we can check the repository configuration and only warn conditionally based on configuration.
This PR closes #41 .