This project contains a script, main.py, which will send a TeamCity service message. There is an unused dependency on requests, which I was using only for environment verification in a test.
You will need to have the following installed on your operating system:
- python3
- python3-pip
- poetry
- To use this, simply clone the repository:
git clone https://github.com/eborchardt/PoetryPythonExample.git
- Change to the project directory:
cd PoetryPythonExample
- Run the Poetry Install command:
poetry install
- Run the main.py script with Poetry:
poetry run python src/someproject/main.py