I have some one ADO pipeline which builds and destributes my python client app. During the pipline two builds are created, one for STAGE and one for PROD. According this I need to build my-project-stage as a STAGE artifact and my-project as a PROD artifact. They are both from the same commit. My question is how can I set and read variables inside the setup.cfg for the project name and for config file name (include stage app's config for NONPROD and prod app's config for the PROD build).
Something like this inside setup.cfg:
Is it possible? Or there is another way to do it?
Note: I don't use the setup.py in my project, but pyproject.toml (due to PEP-517 and PEP-518 compatibility)