forked from smvv/pybison
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathINSTALL
28 lines (20 loc) · 810 Bytes
/
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
INSTALL file for PyBison
1. Prerequisites
You will need:
- Python 2.2 or later, with development headers and libraries
- GNU bison (or yacc) - www.gnu.org or gnuwin32.sf.net
- GNU flex (or lex) - ditto
- The Pyrex Python/C wrapper creation framework:
- http://www.cosc.canterbury.ac.nz/~greg/python/Pyrex/
- A standard C compiler and linker
2. Installing
- Crack the tarball somewhere convenient (eg your home directory)
- cd into the top level directory of this package
- become root, and type 'python setup.py install'
With all going well, you should see a bunch of harmless warning messages
from the compilation of bison.c, but no errors.
The following commands will verify if the installation succeeded:
$ which bison2py
/usr/bin/bison2py
$ python -c "import bison"
$