scoder / lupa

Lua in Python
http://pypi.python.org/pypi/lupa
Other
1.01k stars 135 forks source link

failure to build with LuaJIT on windows #230

Closed hidwood closed 1 year ago

hidwood commented 1 year ago

I have been attempting to build Lupa with LuaJIT20 on windows(x64) for a while now because the wheels on pip do not include it by default. However, no matter what I have tried, Lupa simply does not detect LuaJit. From telling it exactly where the library is to attempting it to build from the third-party directory, it always defaults to building with standard Lua.

how to reproduce

This is the simplest and easiest method of reproducing, as well as being the official one recommended by the install file.

hidwood commented 1 year ago

Update: directly extracting LuaJit20 worked, I am not sure if this is do to naming or do to the directory structure. Either way, it may be important to note that you must deviate from LuaJIT's install instructions, as they specify specifically to copy the needed files and nothing else to a new directory.