@@ -70,11 +70,20 @@ Building with LuaJIT2
70
70
Building with Lua 5.x
71
71
---------------------
72
72
73
- Reportedly, it also works to use Lupa with the standard (non-JIT) Lua
74
- runtime. To that end, install Lua 5.x instead of LuaJIT2, including
75
- any development packages (header files etc.).
73
+ It also works to use Lupa with the standard (non-JIT) Lua
74
+ runtime. The easiest way is to use the bundled lua submodule:
76
75
77
- On systems that use the "pkg-config" configuration mechanism, Lupa's
76
+ #) Clone the submodule::
77
+
78
+ $ git submodule update --init third-party/lua
79
+
80
+ #) Build Lupa::
81
+
82
+ $ python3 setup.py bdist_wheel --use-bundle --with-cython
83
+
84
+ You can also build it by installing a Lua 5.x package, including
85
+ any development packages (header files etc.). On systems that
86
+ use the "pkg-config" configuration mechanism, Lupa's
78
87
setup.py will pick up either LuaJIT2 or Lua automatically, with a
79
88
preference for LuaJIT2 if it is found. Pass the ``--no-luajit `` option
80
89
to the setup.py script if you have both installed but do not want to
@@ -88,7 +97,7 @@ LuaJIT2 nor Lua are found automatically.
88
97
89
98
For further information, read this mailing list post:
90
99
91
- http ://article.gmane .org/gmane.comp.python. lupa.devel/31
100
+ https ://www.freelists .org/post/ lupa-dev/Lupa-with-normal-Lua-interpreter-Lua-51,2
92
101
93
102
94
103
Installing lupa from packages
@@ -132,4 +141,3 @@ OS X + Lua 5.2 + Homebrew
132
141
#) Install lupa::
133
142
134
143
$ pip install lupa
135
-
0 commit comments