Skip to content

Commit d470aba

Browse files
author
Troy Melhase
committed
First pass at setup.py and install.md.
1 parent 56788fa commit d470aba

File tree

3 files changed

+616
-0
lines changed

3 files changed

+616
-0
lines changed

doc/install.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,43 @@
11
## java2python Installation
2+
3+
### New School
4+
5+
Kids these days have it easy:
6+
7+
$ pip install java2python
8+
9+
### Old School
10+
11+
#### Install ANTLR Runtime
12+
13+
We need the ANTLR Python runtime before we can install java2python:
14+
15+
$ wget http://www.antlr.org/download/antlr-3.1.3.tar.gz
16+
$ tar xfz antlr-3.1.3.tar.gz
17+
$ cd antlr-3.1.3/runtime/Python/
18+
$ python setup.py install
19+
20+
#### Install java2python
21+
22+
Now the goodness:
23+
24+
$ wget https://github.com/downloads/natural/java2python/java2python-0.5.tar.gz
25+
$ tar xfz java2python-0.5.tar.gz
26+
$ cd java2python
27+
$ python setup.py install
28+
29+
30+
### Dependencies
31+
32+
The runtime dependency for java2python is the [Python runtime][] for [ANTLR][].
33+
The exact version number is very important: java2python requires
34+
[version 3.1.3 of the Python runtime][].
35+
36+
The development dependencies (what you need if you're coding java2python) are
37+
[ANTLR][], also version 3.1.3, GNU make, and a JVM.
38+
39+
40+
[version 3.1.3 of the Python runtime]: http://www.antlr.org/download/antlr-3.1.3.tar.gz
41+
[Python runtime]: http://www.antlr.org/wiki/display/ANTLR3/Python+runtime
42+
[ANTLR]: http://www.antlr.org
43+

0 commit comments

Comments
 (0)