summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py19
1 files changed, 14 insertions, 5 deletions
diff --git a/setup.py b/setup.py
index 0ea008008..cc977f50f 100644
--- a/setup.py
+++ b/setup.py
@@ -51,15 +51,24 @@ requires = [
'Pygments>=2.0',
'docutils>=0.11',
'snowballstemmer>=1.1',
- 'babel',
- 'alabaster',
- 'sphinx_rtd_theme',
+ 'babel>=1.3,!=2.0',
+ 'alabaster>=0.7,<0.8',
+ 'sphinx_rtd_theme>=0.1,<2.0',
]
extras_require = {
# Environment Marker works for wheel 0.24 or later
':sys_platform=="win32"': [
'colorama',
],
+ 'websupport': [
+ 'sqlalchemy>=0.9',
+ 'whoosh>=2.0',
+ ],
+ 'test': [
+ 'nose',
+ 'mock', # it would be better for 'test:python_version in "2.6,2.7"'
+ 'simplejson', # better: 'test:platform_python_implementation=="PyPy"'
+ ],
}
# for sdist installation with pip-1.5.6
@@ -148,12 +157,12 @@ else:
outfile = open(js_file, 'wb')
try:
- outfile.write('Documentation.addTranslations(');
+ outfile.write('Documentation.addTranslations(')
dump(dict(
messages=jscatalog,
plural_expr=catalog.plural_expr,
locale=str(catalog.locale)
- ), outfile)
+ ), outfile, sort_keys=True)
outfile.write(');')
finally:
outfile.close()