I'm trying to build A python package and then push to AWS Code Artifact. I do not understand how to run the commands within Teamcity to accomplish this. To run on a normal command line I would perform the following steps (assuming python is already installed)
pip install wheel twine
python setup.py sdist bdist_wheel
twine upload --repository codeartifact dist/*
I guess the first 2 steps can be done through the runner type python, but I have not figured out how to work with installing packages or using virtualenv inside Teamcity yet. The third step I have no idea how to run because it's not a python runner but a runner type of command line. Python is not installed on that command line. So how do I run twine inside Teamcity?