code: def find_boost():
      
      short_version = "{}{}".format(sys.version_info[0], sys.version_info[1])
      boostlibnames = ['boost_python-py' + short_version,
                       'boost_python' + short_version,
                       'boost_python',
                       ]
  
      if sys.version_info[0] == 2:
          boostlibnames += ["boost_python-mt"]
      else:
          boostlibnames += ["boost_python3-mt"]
      for libboostname in boostlibnames:
          if find_library_file(libboostname):
              return libboostname
      warnings.warn(no_boost_error)
      return boostlibnames[0]
docs: Find the name of the boost-python library. Returns None if none is found.