See http://g1.globo.com/tecnologia/hackathon/2017/
- Bernardo Dornellas
- Eduardo Ferreira
- Pedro Eusébio
- Thiago Perrotta
- Install python3
- On mac,
brew install python3
- On mac,
- Create a virtual env
- Somewhere (outside of the repository) type:
python3 -m venv ./globenv
- Instead of globenv, can be anything you want =P
- Somewhere (outside of the repository) type:
- Active virtual env (need to be done everytime you start a new shell session)
source ./globenv/bin/activate
- Install dependencies (need to be done in the first time and when new libs are added)
- On our git root folder
pip install -r requirements.txt
- Rock and run
- Now
python
is actuallypython3
=P - Check by typing
python --version
and seeing if it is 3.something - Run your scripts with
python file.py
- Profit
- Now