A package with basic calculator functions: addition, subtraction, multiplication, division, root.
pip install not-so-basic-calculator
-
navigate to project's root directory
-
create the new virtual environment with:
python3 -m venv venv
-
activate venv with:
source venv/bin/activate
You should see '(venv)' at the end of your terminal prompt line which indicates that virtual environment is active.
To start the calculator, run:
python /calculator/__init__.py
Follow the instructions on the command line afterwards.
To run tests:
pytest
To generate 'requirements.txt' file with dependencies of the project:
pip freeze > requirements.txt