-
Notifications
You must be signed in to change notification settings - Fork 7
/
INSTALL
43 lines (27 loc) · 1.24 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
This application is not packaged and must be run from this source tree.
***** For Linux *****
1. == Get the tmtp source code ==
To get the source, do the following:
$ git clone [email protected]:sconklin/tmtp.git
2. == Get the required pySVG python library ==
Note: pySVG 0.2.2 is incompatible, so use version 0.2.1. You can
install it with PIP using:
$ pip install pySVG==0.2.1
Alternatively, you can install pySVG from this page:
http://code.google.com/p/pysvg/downloads/list
Download the file pysvg-0.2.1.zip. Unzip it and install it:
$ unzip pysvg-0.2.1.zip
$ cd pysvg-0.2.1/
$ sudo python setup.py install
3. == Test it ==
$ cd ../tmtp/standalone
$ ./mkpattern --verbose --client=tests/testdata.json --pattern=tests/P_layout_test.py --styles=tests/test_styles.json foo.svg
If this completes without error, everything is probably good.
You can look at the output file, foo.svg to see what it
looks like
***** For Windows *****
1. Install python 2.7 from https://www.python.org/downloads/
2. Add the python executable directory to your path.
3. At the command prompt, run "pip install pysvg==0.2.1"
4. cd tmtp\standalone
5. python mkpattern --verbose --client=tests\testdata.json --pattern=tests\P_layout_test.py --styles=tests\test_styles.json foo.svg