From 7c9351291050f381da4f409dd994d30554d0c721 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 27 Oct 2011 02:59:24 +0000 Subject: Remove python path kludging stuff for Redland importing. --- lv2specgen/lv2specgen.py | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'lv2specgen') diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py index f668018..0bbc6d0 100755 --- a/lv2specgen/lv2specgen.py +++ b/lv2specgen/lv2specgen.py @@ -30,15 +30,15 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -__version__ = "1.0.1" +__version__ = "1.0.2" __authors__ = """ Christopher Schmidt, Uldis Bojars, Sergio Fernández, David Robillard""" -__license__ = "MIT License " +__license__ = "MIT License " __contact__ = "devel@lists.lv2plug.in" -__date__ = "2011-05-30" +__date__ = "2011-10-26" import os import sys @@ -51,15 +51,7 @@ try: import RDF import Redland except ImportError: - version = sys.version.split(" ")[0] - if version.startswith("2.5"): - sys.path.append("/usr/lib/python2.4/site-packages/") - else: - sys.path.append("/usr/lib/python2.5/site-packages/") - try: - import RDF - except: - sys.exit("Error importing Redland bindings for Python; check if it is installed correctly") + sys.exit("Error importing Redland bindings for Python (python-librdf)") #global vars classranges = {} -- cgit v1.2.1