|
|
499cd94 |
From 7b69cb5f2fe46d46814712cdc43123807c681dc3 Mon Sep 17 00:00:00 2001
|
|
|
499cd94 |
From: Dan Scott <dan@coffeecode.net>
|
|
|
499cd94 |
Date: Sun, 2 Mar 2014 19:55:08 -0500
|
|
|
499cd94 |
Subject: [PATCH] Make SPARQLWrapper an extra_requires for now
|
|
|
499cd94 |
|
|
|
499cd94 |
Per discussion in https://github.com/RDFLib/rdflib/pull/359
|
|
|
499cd94 |
|
|
|
499cd94 |
Signed-off-by: Dan Scott <dan@coffeecode.net>
|
|
|
499cd94 |
---
|
|
|
499cd94 |
setup.py | 7 ++++---
|
|
|
499cd94 |
1 file changed, 4 insertions(+), 3 deletions(-)
|
|
|
499cd94 |
|
|
|
499cd94 |
diff --git a/setup.py b/setup.py
|
|
|
499cd94 |
index c00a978..380d449 100644
|
|
|
499cd94 |
--- a/setup.py
|
|
|
499cd94 |
+++ b/setup.py
|
|
|
499cd94 |
@@ -41,8 +41,8 @@ if sys.version_info[0] >= 3:
|
|
|
499cd94 |
kwargs['install_requires'] = ['isodate', 'pyparsing']
|
|
|
499cd94 |
kwargs['tests_require'] = ['html5lib']
|
|
|
499cd94 |
kwargs['requires'] = [
|
|
|
499cd94 |
- 'isodate', 'pyparsing',
|
|
|
499cd94 |
- 'SPARQLWrapper']
|
|
|
499cd94 |
+ 'isodate', 'pyparsing']
|
|
|
499cd94 |
+ kwargs['extras_require'] = {'SPARQLStore': 'SPARQLWrapper'}
|
|
|
499cd94 |
kwargs['src_root'] = setup_python3()
|
|
|
499cd94 |
assert setup
|
|
|
499cd94 |
else:
|
|
|
499cd94 |
@@ -52,7 +52,8 @@ else:
|
|
|
499cd94 |
kwargs['test_suite'] = "nose.collector"
|
|
|
499cd94 |
kwargs['install_requires'] = [
|
|
|
499cd94 |
'isodate',
|
|
|
499cd94 |
- 'pyparsing', 'SPARQLWrapper']
|
|
|
499cd94 |
+ 'pyparsing']
|
|
|
499cd94 |
+ kwargs['extras_require'] = {'SPARQLStore': 'SPARQLWrapper'}
|
|
|
499cd94 |
|
|
|
499cd94 |
if sys.version_info[1]<7: # Python 2.6
|
|
|
499cd94 |
kwargs['install_requires'].append('ordereddict')
|
|
|
499cd94 |
--
|
|
|
499cd94 |
1.8.5.3
|
|
|
499cd94 |
|