Adding some flexibility to the requirements since these packages are all fairly stable at this point
This commit is contained in:
20
setup.py
20
setup.py
@@ -6,8 +6,8 @@ version = '0.1'
|
|||||||
# integration with py.test for `python setup.py test`
|
# integration with py.test for `python setup.py test`
|
||||||
#
|
#
|
||||||
tests_require = [
|
tests_require = [
|
||||||
"py == 1.3.4",
|
"py >= 1.3.4",
|
||||||
"WebTest == 1.2.2",
|
"WebTest >= 1.2.2",
|
||||||
]
|
]
|
||||||
|
|
||||||
class PyTest(Command):
|
class PyTest(Command):
|
||||||
@@ -25,19 +25,19 @@ class PyTest(Command):
|
|||||||
# determine requirements
|
# determine requirements
|
||||||
#
|
#
|
||||||
requirements = [
|
requirements = [
|
||||||
"WebOb == 1.0.0",
|
"WebOb >= 1.0.0",
|
||||||
"WebCore == 1.0.0",
|
"WebCore >= 1.0.0",
|
||||||
"simplegeneric == 0.7",
|
"simplegeneric >= 0.7",
|
||||||
"Mako == 0.3.6",
|
"Mako >= 0.3.6",
|
||||||
"Paste == 1.7.5.1",
|
"Paste >= 1.7.5.1",
|
||||||
"PasteScript == 1.7.3",
|
"PasteScript >= 1.7.3",
|
||||||
"formencode == 1.2.2"
|
"formencode >= 1.2.2"
|
||||||
]
|
]
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import json
|
import json
|
||||||
except:
|
except:
|
||||||
requirements.append("simplejson == 2.1.1")
|
requirements.append("simplejson >= 2.1.1")
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user