I'm converting our system to use pants 2.13 instea...
# general
b
I'm converting our system to use pants 2.13 instead of pants 1.30 and cannot seem to get the BUILD file configuration right to allow me to simply run a pex file without it turning into a python terminal OR reporting
ModuleNotFoundError: No module named 'main'
. So far I've tried setting the
entry_point='main.py'
,
entry_point='main.py:main'
, and even added an
__init__.py
at the base of the folder my service is in. Does the entry point path have to equal the path that pants generates the pex as? Or can it just be main.py?