0

There is this line in a python class file, and I am trying to find the python file that defines the PeieApi

from peieapi.peieapi import PeieApi

I've recursively searched in the project folder for "class PeieApi", didn't find it.

I've check the directory where this file is located for any file or directory with the name peieapi, didn't find any.

So, where else can I find the source file that defines this python class PeieApi?

s-hunter
  • 17,762
  • 11
  • 67
  • 105

1 Answers1

0

It was actually installed into this directory by pip when running the project installation script. I saw it showed up from the list returned by this command.

pip list

Seems if it's not in the project directory, it will be in the global python library directory, in my case on a Mac, it's in

/usr/local/lib/python2.7/site-packages/
s-hunter
  • 17,762
  • 11
  • 67
  • 105