To run the solutions, the PYTHONPATH
must be set to the root directory, i.e. export PYTHONPATH=/home/nenad/adventofcode/
.
You can use virtualenvwrapper
with a postactivate
script to automate the step above.
Ref: https://stackoverflow.com/questions/9554087/setting-an-environment-variable-in-virtualenv