wonderful-boots-93625
04/03/2023, 8:30 PMfiles
to be included not just resources
? we kinda abuse MANIFEST.in to put in files into the distribution, and I’m trying to replicate it.broad-processor-92400
04/03/2023, 8:35 PMresources
instead of files
?wonderful-boots-93625
04/03/2023, 8:42 PMedge/ <-- monorepo root
iai_coral_api/migration/ <- problematic folder to include into dist
iai_coral_api/src/iai_coral_api/... <-- most of the code
setup.py <-- not used by pants
-- pants.toml
source_roots=[
'iai_coral_api/src'
]
so using a resources
at migration/
will have py files that import iai_coral_api but that should work, since the source root for that is already set?iai_coral_api
. See https://www.pantsbuild.org/v2.14/docs/source-roots for how to define source roots.`broad-processor-92400
04/03/2023, 10:01 PMwonderful-boots-93625
04/03/2023, 10:03 PM