diff --git a/INSTALL b/INSTALL index 3aa4699..5992a62 100644 --- a/INSTALL +++ b/INSTALL @@ -5,10 +5,14 @@ You'll need at least Python 2.2 installed on your system, we recommend Python 2.4 though as there may be bugs with the earlier libraries. Everything Pythonesque Planet need to provide basic operation should be -included in the distribution. Usage of XSLT requires either xsltproc -or python-libxslt. The current interface to filters written in -non-templating languages (e.g., python) uses the subprocess module -which was introduced in Python 2.4. +included in the distribution. Additionally: + * Usage of XSLT requires either xsltproc or python-libxslt. + * The current interface to filters written in non-templating languages + (e.g., python) uses the subprocess module which was introduced in + Python 2.4. + * Usage of FOAF as a reading list requires librdf. + +Instructions: i. First you'll need to extract the files into a folder somewhere. diff --git a/tests/test_foaf.py b/tests/test_foaf.py index 4d635f2..8efe824 100644 --- a/tests/test_foaf.py +++ b/tests/test_foaf.py @@ -73,5 +73,12 @@ class FoafTest(unittest.TestCase): foaf2config(test, blogroll, self.config) self.assertEqual('Danny Ayers', self.config.get(testfeed, 'name')) +# these tests only make sense if libRDF is installed +try: + import RDF +except: + for key in FoafTest.__dict__.keys(): + if key.startswith('test_'): delattr(FoafTest, key) + if __name__ == '__main__': unittest.main()