drone-pypi plugin allows you to specify the setup.py location, but the working directory is still the root (workspace directory). My repo is structured like:
root/pythonpkg/dist/normal build output
I have 2 scenarios:
I’ve already built the whl’s in previous build steps. I’d like to
skip_build: trueand maybe specify where the output directory is. The plugin assumes workspace/dist/*.
I want the default build behavior, and need to specify the working directory. The plugin executes, from the workspace,
python3 pythonpkg/setup.py ...which breaks all the relative paths in setup.py.