On 01/22/2015 08:37 PM, Andreas Enge wrote: > On Thu, Jan 22, 2015 at 09:50:35AM +0100, Federico Beffa wrote: >> It appears that SPARQLWrapper is not really needed and you can disable >> dependency guessing with '--no-guessing-deps'. See >> https://sources.debian.net/src/rdflib/4.1.2-3/debian/rules/ > > Thanks for the suggestion! This seems to be some debian specific macro in > their package recipes; I tried it as a configure flag, and setup.py chokes > on it. > > However, there are these lines in setup.py: > kwargs['install_requires'] = [ > 'isodate', > 'pyparsing', 'SPARQLWrapper'] > explicitly in the "else" branch of > if sys.version_info[0] >= 3: > So this would explain why there was no problem with python-3. >
In Python 3, it is not in "install_requires", but it is in "requires": https://github.com/RDFLib/rdflib/blob/master/setup.py#L43 Not sure exactly what the difference is, though. Cyril.