You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39Lines changed: 39 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,10 @@ Debian/Ubuntu:
21
21
Where X.X is the version of Python you are using. I have not tested
22
22
python-spidermonkey on Py3K so it may be horribly broken there.
23
23
24
+
Gentoo:
25
+
26
+
If you have python installed, then the headers should already be installed.
27
+
24
28
Netscape Portable Runtime (nspr)
25
29
--------------------------------
26
30
@@ -35,11 +39,40 @@ Mac OS X:
35
39
Debian/Ubuntu:
36
40
37
41
$ sudo apt-get install libnspr4-dev
42
+
43
+
Gentoo:
44
+
45
+
$ sudo emerge nspr
38
46
39
47
Alternatively you can build from [source][nspr]. If you choose this route make
40
48
sure that the nspr-config command is on your $PATH when running the install
41
49
commands below.
42
50
51
+
If you choose this route make
52
+
sure that the pkg-config command is on your `$PATH` when running the install
53
+
commands below. Additionally, make sure that `$PKG_CONFIG_PATH` is properly
54
+
set.
55
+
56
+
XULRunner (optional)
57
+
--------------------
58
+
You can optionally build the extension linked to your system's spidermonkey
59
+
library, which is installed with XULRunner. You should be able to grab it from
60
+
your package manager of choice with something like the following:
61
+
62
+
Mac OS X:
63
+
64
+
$ sudo port install xulrunner
65
+
66
+
Debian/Ubuntu:
67
+
68
+
$ sudo apt-get install xulrunner-1.9-dev
69
+
70
+
Gentoo:
71
+
72
+
$ sudo emerge xulrunner
73
+
74
+
As with [nspr][nspr], you can also build [xulrunner][xulrunner] from source. And as with [nspr][nspr] you need to make sure hat `$PATH` and `$PKG_CONFIG_PATH` are properly set when building the module.
75
+
43
76
Installation
44
77
============
45
78
@@ -54,6 +87,11 @@ Installation
54
87
55
88
$ sudo python setup.py develop
56
89
90
+
If you want to build with the system spidermonkey library, replace the build
0 commit comments