User Tools

Site Tools


installing_twee

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

installing_twee [2017/10/09 20:39] (current)
Line 1: Line 1:
 +===== Installing twee =====
 +
 +//twee//, the command-line Twee compiler, requires Python. If you are using a Unix-based system like OS X or Linux, you don't need to worry about this requirement;​ Python should already be installed on your computer. Windows users can get Python here.
 +
 +On Unix-based systems, you can make the command-line tools available to you by placing the entire extracted directory (including the lib and targets directories) into your PATH. If you use the bash shell, for example, you might put something like this in .bashrc:
 +
 +<​code>​
 +export PATH=$PATH:/​home/​useraccount/​twee
 +</​code>​
 +
 +You can then run //twee// directly from the command prompt:
 +
 +<​code>​
 +$ twee
 +</​code>​
 +
 +On Windows, you can't run //twee// directly. Instead, you'll need to run the python interpreter on //twee// like so:
 +
 +<​code>​
 +> python twee
 +</​code>​
 +
 +If things are set up properly, running //twee// without any further input should produce this message:
 +
 +<​code>​
 +twee: no source files specified
 +</​code>​
 +
 +If you see this message, then you have installed //twee// correctly.
  
installing_twee.txt ยท Last modified: 2017/10/09 20:39 (external edit)