Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ hererocks

|gh-workflow| |codecov|

``hererocks`` is a single file Python 2.7/3.x script for installing `Lua <http://http://www.lua.org/>`_
``hererocks`` is a single file Python script for installing `Lua <http://http://www.lua.org/>`_
(or `LuaJIT <http://luajit.org/>`_ or `moonjit <https://github.com/moonjit/moonjit>`_ or `RaptorJIT <https://github.com/raptorjit/raptorjit>`_)
and `LuaRocks <https://luarocks.org/>`_, its package manager, into a local directory.
It configures Lua to only see packages installed by that bundled version of LuaRocks, so that the installation is isolated.
Expand Down Expand Up @@ -41,7 +41,7 @@ Manually: download hererocks with ``wget https://raw.githubusercontent.com/luaro
Requirements
------------

* Python 2.7 or 3.x
* A currently supported version of Python.
* Git for installing from Git repositories.
* Compiler:

Expand Down
10 changes: 2 additions & 8 deletions hererocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

"""A tool for installing Lua and LuaRocks locally."""

from __future__ import print_function

import argparse
import contextlib
import hashlib
Expand All @@ -22,14 +20,10 @@
import tempfile
import textwrap
import zipfile
from urllib.error import URLError
from urllib.request import urlopen


try:
from urllib2 import URLError, urlopen
except ImportError:
from urllib.error import URLError
from urllib.request import urlopen

if os.name == "nt":
try:
import _winreg as winreg
Expand Down
2 changes: 0 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ maintainers = [
keywords = ["lua"]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
Loading