hundreds-father-404
10/08/2020, 7:13 PMcython_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