docs/01-installation.markdown @ ee62f412c6ef
Modified main execution Checking for arguments has been moved to the executable and render_files takes the source and destination as arguments. These default to '.' and './build' for the d executable. Moving argument checking to the executable and passing source and destination into d.render_files allows custom executables, like the included 'bin/da' example.
| author | Mattijs Hoitink <mattijs@monkeyandmachine.com> |
|---|---|
| date | Mon, 06 Feb 2012 15:45:14 +0100 |
| parents | f97c78fac690 |
| children | (none) |
Installation ============ You just need Python and `pip`: :::bash pip install d You can use `easy_install` if you really want: :::bash easy_install d `d` uses Markdown, Pygments, and Pyquery to do some of the heavy lifting. Troubleshooting --------------- Some users have reported problems compiling the lxml library on OS X. If you get a message that looks like this when installing: src/lxml/lxml.etree.c:165674: fatal error: error writing to -: Broken pipe compilation terminated. lipo: can't open input file: /var/tmp//ccZmfWit.out (No such file or directory) error: command 'gcc-4.2' failed with exit status 1 Try running this command and installing again: export ARCHFLAGS="-arch i386 -arch x86_64"