damp-quill-5918712/12/2019, 6:16 PM
. Thas a single 'main'
, an entrypoint, and some other params
`publish_task`: this is similar to the existing publish, but uses twine.
All these steps work well individually. The issue here is getting them to play nicely with each other. What I'd like to do is call our
goal with the
as a target. This would then in turn call our publish goal, which calls setup.py.
The issue that I'm running into is that when setup.py is called, it fails with the error :
I imagine this is because it is looking at the
FAILURE: setup-py target(s) must provide an artifact.
for a provides argument, which it doesn't have. What we're looking for is to somehow specify that the
line can inform setup.py libraries that this needs to be run against are the python_library deps of
I've dabbled in the python_binary code to see how this is done, but couldn't exactly grab a hold. Happy to provide more details as well
looks roughly like this:
is a python library, specifically, the python library that we want to run a recursive setup.py command on.
blocks, but doesn't have one itself
2. run setup.py against that target