Adding a parameter to a setup.py (Python plugin)

Hi there,

I’m in the early phases of bulding out a snap for a Python app that is cross platform. In the developers documentation, they state that you need to run python3 setup.py install_linux.

I’m reading through both the docs on the Python plugin and searching the forum, but have had little luck.

My assumption is that maybe I could leverage override-build here, but I think I’m gapping something on how to leverage it. I had attempted to run the python3 setup.py install_linux followed by snapcraft build (in the override-build). But that lead to different errors.

I figured I might pull back to the first error before I go down a rabbit hole. (Essentially double checking how to handle arguments needed on a setup.py).

I’ll post a yaml later as I’m on mobile at the moment.

Thank you for your time.