[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Circular dependencies in python modules
From: |
Cyril Roelandt |
Subject: |
Re: Circular dependencies in python modules |
Date: |
Thu, 22 Jan 2015 22:15:44 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0 |
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.