commit 93f20f9e8b7f276ba8aabfb7b224e3c71bb78aa6 Author: Damian Johnson atagar@torproject.org Date: Tue Oct 31 10:48:55 2017 -0700
Specify installing right sqlite3 on FreeBSD
I was unsure if FreeBSD had sqlite3 ports for all the python versions but a reply on tor-relays@ seems to imply they do. Providing a command for whatever interpreter version the user's running. --- nyx/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nyx/__init__.py b/nyx/__init__.py index 0142c5d..f91ef07 100644 --- a/nyx/__init__.py +++ b/nyx/__init__.py @@ -74,8 +74,8 @@ emerge dev-lang/python with USE=sqlite. SQLITE_UNAVAILABLE_FREEBSD = """\ Python's sqlite3 module is unavailable. Please run...
- sudo pkg install py27-sqlite3 -""" + sudo pkg install py%i%i-sqlite3 +""" % (sys.version_info[:2]
try: import sqlite3
tor-commits@lists.torproject.org