     }
     return nil
   }
-  
+
   static func loadPythonLibrary(
     at path: String, version: PythonVersion
-  ) -> UnsafeMutableRawPointer? {
+    ) -> UnsafeMutableRawPointer? {
     let versionString = version.versionString
-    
+
     if let requiredPythonVersion = Environment.version.value {
       let requiredMajorVersion = Int(requiredPythonVersion)
       if requiredPythonVersion != versionString,

  enum Environment: String {
    private static let keyPrefix = "PYTHON"
    private static let keySeparator = "_"
    
    case library = "LIBRARY"
    case version = "VERSION"
    case loaderLogging = "LOADER_LOGGING"
    
    var key: String {
      return Environment.keyPrefix + Environment.keySeparator + rawValue
    }
    
    var value: String? {
      guard let value = getenv(key) else { return nil }
      return String(cString: value)
    }
    
    func set(_ value: String) {
      #if canImport(Darwin) || canImport(Glibc)
      setenv(key, value, 1)

      .joined(separator: libraryVersionString)
    return loadPythonLibrary(at: path)
  }

  static func loadPythonLibrary(at path: String) -> UnsafeMutableRawPointer? {
    log("Trying to load library at '\(path)'...")
    #if canImport(Darwin) || canImport(Glibc)
