aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-10-27 02:59:24 +0000
committerDavid Robillard <d@drobilla.net>2011-10-27 02:59:24 +0000
commit7c9351291050f381da4f409dd994d30554d0c721 (patch)
tree8b9ec90d0a62595ed318a36b9df603fd5fc6b295
parent994a8b17a2501d95e485e12dea0eb6f408df6b0d (diff)
downloadlv2-7c9351291050f381da4f409dd994d30554d0c721.tar.xz
Remove python path kludging stuff for Redland importing.
-rwxr-xr-xlv2specgen/lv2specgen.py16
1 files changed, 4 insertions, 12 deletions
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 <http://www.opensource.org/licenses/mit-license.php>"
+__license__ = "MIT License <http://www.opensource.org/licenses/mit>"
__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 = {}