Skip to content

Commit

Permalink
Merge pull request #368 from dbs/sparqlwrapper_optional
Browse files Browse the repository at this point in the history
Make SPARQLWrapper an extra_requires for now
  • Loading branch information
gromgull committed Mar 3, 2014
2 parents d34519a + e5589d5 commit 50cdbea
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ def setup_python3():
kwargs['install_requires'] = ['isodate', 'pyparsing']
kwargs['tests_require'] = ['html5lib']
kwargs['requires'] = [
'isodate', 'pyparsing',
'SPARQLWrapper']
'isodate', 'pyparsing']
kwargs['extras_require'] = {'SPARQLStore': 'SPARQLWrapper'}
kwargs['src_root'] = setup_python3()
assert setup
else:
Expand All @@ -52,7 +52,8 @@ def setup_python3():
kwargs['test_suite'] = "nose.collector"
kwargs['install_requires'] = [
'isodate',
'pyparsing', 'SPARQLWrapper']
'pyparsing']
kwargs['extras_require'] = {'SPARQLStore': 'SPARQLWrapper'}

if sys.version_info[1]<7: # Python 2.6
kwargs['install_requires'].append('ordereddict')
Expand Down

0 comments on commit 50cdbea

Please sign in to comment.