adds requests dependency.

This commit is contained in:
Romain Dorgueil
2017-01-07 10:37:59 +01:00
parent f736e7e7e3
commit c9b000f65e
3 changed files with 31 additions and 31 deletions

View File

@ -1,7 +1,7 @@
# This file has been auto-generated. # This file has been auto-generated.
# All changes will be lost, see Projectfile. # All changes will be lost, see Projectfile.
# #
# Updated at 2017-01-03 12:10:41.605435 # Updated at 2017-01-07 10:37:43.401814
PYTHON ?= $(shell which python) PYTHON ?= $(shell which python)
PYTHON_BASENAME ?= $(shell basename $(PYTHON)) PYTHON_BASENAME ?= $(shell basename $(PYTHON))

View File

@ -23,7 +23,9 @@ enable_features = {
install_requires = [ install_requires = [
'blessings >=1.6,<1.7', 'blessings >=1.6,<1.7',
'psutil >=5.0,<5.1', 'psutil >=5.0,<5.1',
'requests >=2.12,<2.13',
'toolz >=0.8,<0.9', 'toolz >=0.8,<0.9',
] ]
extras_require = { extras_require = {

View File

@ -8,23 +8,19 @@ root_dir = os.path.dirname(os.path.abspath(__file__))
tolines = lambda c: list(filter(None, map(lambda s: s.strip(), c.split('\n')))) tolines = lambda c: list(filter(None, map(lambda s: s.strip(), c.split('\n'))))
def read(filename, flt=None): def read(filename, flt=None):
with open(filename) as f: with open(filename) as f:
content = f.read().strip() content = f.read().strip()
return flt(content) if callable(flt) else content return flt(content) if callable(flt) else content
# Py3 compatibility hacks, borrowed from IPython. # Py3 compatibility hacks, borrowed from IPython.
try: try:
execfile execfile
except NameError: except NameError:
def execfile(fname, globs, locs=None): def execfile(fname, globs, locs=None):
locs = locs or globs locs = locs or globs
exec(compile(open(fname).read(), fname, "exec"), globs, locs) exec(compile(open(fname).read(), fname, "exec"), globs, locs)
version_ns = {} version_ns = {}
execfile(os.path.join(root_dir, 'bonobo/_version.py'), version_ns) execfile(os.path.join(root_dir, 'bonobo/_version.py'), version_ns)
version = version_ns.get('__version__', 'dev') version = version_ns.get('__version__', 'dev')
@ -33,27 +29,29 @@ setup(
name = 'bonobo', name = 'bonobo',
description = 'Bonobo', description = 'Bonobo',
license = 'Apache License, Version 2.0', license = 'Apache License, Version 2.0',
install_requires=['blessings >=1.6,<1.7', 'psutil >=5.0,<5.1', 'toolz >=0.8,<0.9'], install_requires = ['blessings >=1.6,<1.7',
'psutil >=5.0,<5.1',
'requests >=2.12,<2.13',
'toolz >=0.8,<0.9'],
version = version, version = version,
long_description = read('README.rst'), long_description = read('README.rst'),
classifiers = read('classifiers.txt', tolines), classifiers = read('classifiers.txt', tolines),
packages = find_packages(exclude=['ez_setup', 'example', 'test']), packages = find_packages(exclude=['ez_setup', 'example', 'test']),
include_package_data = True, include_package_data = True,
data_files=[ data_files = [('share/jupyter/nbextensions/bonobo-jupyter',
( ['bonobo/ext/jupyter/static/extension.js',
'share/jupyter/nbextensions/bonobo-jupyter', [ 'bonobo/ext/jupyter/static/index.js',
'bonobo/ext/jupyter/static/extension.js', 'bonobo/ext/jupyter/static/index.js', 'bonobo/ext/jupyter/static/index.js.map'])],
'bonobo/ext/jupyter/static/index.js.map' extras_require = {'dev': ['coverage >=4.2,<4.3',
] 'mock >=2.0,<2.1',
) 'nose >=1.3,<1.4',
], 'pylint >=1.6,<1.7',
extras_require={ 'pytest >=3,<4',
'dev': [ 'pytest-cov >=2.4,<2.5',
'coverage >=4.2,<4.3', 'mock >=2.0,<2.1', 'nose >=1.3,<1.4', 'pylint >=1.6,<1.7', 'pytest >=3,<4', 'sphinx',
'pytest-cov >=2.4,<2.5', 'sphinx', 'sphinx_rtd_theme', 'yapf' 'sphinx_rtd_theme',
], 'yapf'],
'jupyter': ['jupyter >=1.0,<1.1', 'ipywidgets >=6.0.0.beta5'] 'jupyter': ['jupyter >=1.0,<1.1', 'ipywidgets >=6.0.0.beta5']},
},
url = 'https://bonobo-project.org/', url = 'https://bonobo-project.org/',
download_url = 'https://github.com/python-bonobo/bonobo/tarball/{version}'.format(version=version), download_url = 'https://github.com/python-bonobo/bonobo/tarball/{version}'.format(version=version),
) )