0% found this document useful (0 votes)
42 views

Hardware Software List

This document provides instructions for installing software and dependencies needed to complete coding exercises from a book. It recommends downloading and installing Python version 3.7, which is free and works on Linux, OSX, or Windows systems. It also recommends Docker, which is free. Detailed steps are provided for installing Python on different operating systems and for setting up a virtual environment to install common dependencies for coding exercises. Each chapter has additional dependencies that must be installed and tests that can be run using Make or alternative commands.

Uploaded by

Pedro Henrique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
42 views

Hardware Software List

This document provides instructions for installing software and dependencies needed to complete coding exercises from a book. It recommends downloading and installing Python version 3.7, which is free and works on Linux, OSX, or Windows systems. It also recommends Docker, which is free. Detailed steps are provided for installing Python on different operating systems and for setting up a virtual environment to install common dependencies for coding exercises. Each chapter has additional dependencies that must be installed and tests that can be run using Make or alternative commands.

Uploaded by

Pedro Henrique
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

If

proprietary,
If
Software can code Download
proprietary,
Chapter required testing be links to Hardware
Free/Proprietary then cost of OS required
number (With performed the specifications
the
version) using a software
software
trial
version
https:/​/
www.
Python System with Linux,
1-10 Free - - python.
3.7 org/ 4GB RAM OSX, or Windows
downloads/​
https:/​/
www.
System with Linux, OSX, or
10 Docker Free - - docker.
4GB RAM Windows.
com/​get-
started

Detailed installation steps (software-wise)

The steps should be listed in a way that it prepares the system environment to be able to
test the codes of the book.

1. Python
1. (for OSX or Windows): Download the image of Python from the
provided, link, extract, and follow the installation steps of the wizard.
2. After a successful installation, opening a terminal and typing
python3 should launch the Python interpreter
2. For Linux, the Python interpreter automatically comes installed with most of the
distributions, and in case it's not, it can be downloaded from the package
manager for your distribution.
3. Create a virtual environment, and once activated run the following command:

make setup

This will install the common dependencies. Besides this, each chapter might have
additional ones, for which another make setup will have to be run inside that
particular directory. Each chapter has its corresponding directory given by its
number.

4. Inside each chapter directory, tests can be run as:


make test
5. This requires the make application installed (in Unix environments). In
environments without access to the make command, the same code can be tested
by running the commands on the Makefile:
python -m doctest *.py
python -m unittest *.py

You might also like