Refactoring API, writing docs.

This commit is contained in:
Romain Dorgueil
2017-12-27 11:32:47 +01:00
parent 018289dad6
commit 46a8fd192e
12 changed files with 91 additions and 91 deletions

View File

@ -7,7 +7,7 @@ python = require('python')
sphinx = require('sphinx')
yapf = require('yapf')
# python.set_versions('3.5', '3.6', '3.7') --> not yet implemented
# python.set_versions('3.5', '3.6', '3.7') --> not yet implemented in medikit
python.setup(
name='bonobo',
@ -43,34 +43,30 @@ python.setup(
)
python.add_requirements(
'fs >=2.0,<2.1',
'fs ~=2.0',
'graphviz >=0.8,<0.9',
'jinja2 >=2.9,<3',
'mondrian >=0.6,<0.7',
'packaging >=16,<17',
'psutil >=5.4,<6',
'python-slugify >=1.2,<1.3',
'requests >=2,<3',
'jinja2 ~=2.9',
'mondrian ~=0.6',
'packaging ~=16.0',
'psutil ~=5.4',
'python-slugify ~=1.2.0',
'requests ~=2.0',
'stevedore ~=1.27',
'whistle >=1.0,<1.1',
'whistle ~=1.0',
dev=[
'pytest-sugar >=0.9,<0.10',
'pytest-timeout >=1,<2',
'pytest-timeout ~=1.0',
],
docker=[
'bonobo-docker >=0.5.0',
'bonobo-docker',
],
jupyter=[
'ipywidgets >=6.0.0,<7',
'jupyter >=1.0,<1.1',
'ipywidgets ~=6.0',
'jupyter ~=1.0',
],
sqlalchemy=[
'bonobo-sqlalchemy >=0.5.1',
'bonobo-sqlalchemy',
],
)
# Following requirements are not enforced, because some dependencies enforce them so we don't want to break
# the packaging in case it changes in dep.
python.add_requirements('colorama >=0.3')
# vim: ft=python: