Pycco evaluates .py or .js files for comments in Markdown syntax to generate documentation. The setup process was a little confusing for me on a Windows machine, so I thought I would be friendly and document the process for others.
Install Python
- Install python
- Create a
PYTHON_PATHSystem environment variable with a value of the python install directory - Add
%PYTHON_PATH%to thePATHSystem environment variable - Add
%PYTHON_PATH%\Scriptsto thePATHSystem environment variable
Install Pygments
- Download Pygments 1.4
- Extract the compressed file to
%PYTHON_PATH%/Scripts/pygments-1.4/ - Start a command prompt at
%PYTHON_PATH%/Scripts/pygments-1.4/ - From the command prompt, run
python setup.py install
Install Pycco
- Download pycco
- Extract the compressed file to
%PYTHON_PATH%/Scripts/pycco/ - Start a command prompt at
%PYTHON_PATH%/Scripts/pycco/ - From the command prompt, run
python setup.py install
Run Pycco
- Run
pycco <filename>.js