File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -371,33 +371,48 @@ set_asm_group_id
371371 Using Templates from the Template Engine
372372~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
373373
374- .. code :: python
374+
375375
376376 message.add_filter('templates', 'enable', '1')
377377 message.add_filter('templates', 'template_id', 'TEMPLATE-ALPHA-NUMERIC-ID')
378378
379379Tests
380380~~~~~
381381
382- Prerequisites:
383-
384- Mac OS X Prerequisite: `xcode-select --install `
385- `brew update `
386- `brew install pyenv `
387- `pip install tox `
388- Add `eval "$(pyenv init -)" ` to your profile after installing tox, you only need to do this once.
389- `pyenv install 2.6.9 `
390- `pyenv install 2.7.8 `
391- `pyenv install 3.2.6 `
392- `pyenv local 3.2.6 2.7.8 2.6.9 `
393- `pyenv rehash `
394- `virtualenv venv `
395- `source venv/bin/activate #or . ./activate.sh `
396- `python setup.py install `
397-
398- Run the tests:
399-
400- `tox `
382+ **Prerequisites: **
383+
384+ - Mac OS X Prerequisite:
385+
386+ .. code :: python
387+
388+ xcode- select -- install
389+
390+ - Install pyenv and tox
391+
392+ .. code :: python
393+
394+ brew update
395+ brew install pyenv
396+ pip install tox
397+
398+ - Add `eval "$(pyenv init -)" ` to your profile after installing tox, you only need to do this once.
399+
400+ .. code :: python
401+
402+ pyenv install 2.6 .9
403+ pyenv install 2.7 .8
404+ pyenv install 3.2 .6
405+ pyenv local 3.2 .6 2.7 .8 2.6 .9
406+ pyenv rehash
407+ virtualenv venv
408+ source venv/ bin / activate # or . ./activate.sh
409+ python setup.py install
410+
411+ **Run the tests: **
412+
413+ .. code :: python
414+
415+ tox
401416
402417 Deploying
403418~~~~~~~~~
You can’t perform that action at this time.
0 commit comments