lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I released version 0.10.0 of hererocks, a Python script for
fetching and installing Lua, LuaJIT and LuaRocks:

https://github.com/mpeterv/hererocks

Main function of hererocks is creating an isolated installation of Lua/LuaJIT
plus LuaRocks in a selected directory. Lua sources are patched so that default
package.path and package.cpath point to locations LuaRocks uses to store
installed modules.

hererocks provides a few options to customize Lua/LuaJIT installation:
you can select compatibility flags, pass arbitrary compilation flags,
disable readline,
and apply patches from http://www.lua.org/bugs.html.

New features in this version:

* Activation scripts a-la virtualenv[1] are implemented.
  'source <location>/bin/activate' adds '<location>/bin' to $PATH,
  'deactivate-lua' then removes it. There are several versions of scripts
  supporting bash, zsh, dash, fish, and csh, and analogues for batch
and powershell
  on Windows (which is fully supported by the way, including Visual
Studio autodetection).
* Added patch for Lua 5.3.3 bug (Expression list with four or more
expressions in a 'for'
  loop can crash the interpreter), try '--patch'.

To install hererocks use pip[2] and run 'pip install hererocks' or get
'hererocks.py' from its Github project.

Cheers,

-- Peter Melnichenko

[1] https://virtualenv.pypa.io/en/stable/
[2] https://pip.pypa.io/en/stable/