Hello! When building a pex_binary what's the corre...
# general
f
Hello! When building a pex_binary what's the correct way to include all python sources files in artifact? I have a BUILD file example here attempting to package a simple REST API. The issue is that when running
./pants package src/python/maergo:main
only
main.py
is added to the pex file and the rest of the sources files are ignored. Does every python package need its own build that is then referenced in the main build of the application or is there a simpler solution?
1
👀 1
I ran
./pants tailor ::
it added a BUILD file with
python_sources()
to each python module
all seems good now
🙌 1