Use relative imports.
Use sysconfig.get_config_var() to get shared lib extension.