Okay, cool. So `cython_library` might include both...
# plugins
h
Okay, cool. So
cython_library
might include both
.pyx
and
setup.py
, right? Your subclass of
GenerateSourcesRequest
will have a property called
protocol_sources: Snapshot
, which will include the
sources
files associated with your
cython_library
. To find the
setup.py
file within it, you can iterate over
generate_sources_request.snapshot.files
You would only need to call
await Get(SourceFiles, SourceFilesRequest)
if you are also getting the sources for dependencies of your
cython_library