Temperature task for application for HiWi in developement of battery monitoring software
python3
: Official Pagepython3 pip
: Official Documentation- A python3 dependency manager. This example uses
virtualenv
: virtualenv installation
This virtualenv
example is a Linux example. For virtualenv
commands on other OS examples, please refer to this part of the documentation
Clone (download) and extract the repository, then run the following commands from within the directory:
# Change directory to project folder
cd <directory_path/Application-for-HiWi...>
# Create a virtualenv
virtualenv .venv
# Alternative command, if virtualenv is not in PATH
python3 -m virtualenv .venv
# Activate the virtualenv in your shell (assuming it's bash)
. .venv/bin/activate
# Install required dependencies in .venv
pip3 install -r requirements.txt
# Run program
python3 task.py
# exit .venv
deactivate
Using setuptools script setup.py
:
# Within .venv virtual environment
python3 setup.py bdist