adds requests dependency.
This commit is contained in:
2
Makefile
2
Makefile
@ -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))
|
||||||
|
|||||||
@ -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 = {
|
||||||
|
|||||||
58
setup.py
58
setup.py
@ -8,52 +8,50 @@ 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')
|
||||||
|
|
||||||
setup(
|
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',
|
||||||
version=version,
|
'psutil >=5.0,<5.1',
|
||||||
long_description=read('README.rst'),
|
'requests >=2.12,<2.13',
|
||||||
classifiers=read('classifiers.txt', tolines),
|
'toolz >=0.8,<0.9'],
|
||||||
packages=find_packages(exclude=['ez_setup', 'example', 'test']),
|
version = version,
|
||||||
include_package_data=True,
|
long_description = read('README.rst'),
|
||||||
data_files=[
|
classifiers = read('classifiers.txt', tolines),
|
||||||
(
|
packages = find_packages(exclude=['ez_setup', 'example', 'test']),
|
||||||
'share/jupyter/nbextensions/bonobo-jupyter', [
|
include_package_data = True,
|
||||||
'bonobo/ext/jupyter/static/extension.js', 'bonobo/ext/jupyter/static/index.js',
|
data_files = [('share/jupyter/nbextensions/bonobo-jupyter',
|
||||||
'bonobo/ext/jupyter/static/index.js.map'
|
['bonobo/ext/jupyter/static/extension.js',
|
||||||
]
|
'bonobo/ext/jupyter/static/index.js',
|
||||||
)
|
'bonobo/ext/jupyter/static/index.js.map'])],
|
||||||
],
|
extras_require = {'dev': ['coverage >=4.2,<4.3',
|
||||||
extras_require={
|
'mock >=2.0,<2.1',
|
||||||
'dev': [
|
'nose >=1.3,<1.4',
|
||||||
'coverage >=4.2,<4.3', 'mock >=2.0,<2.1', 'nose >=1.3,<1.4', 'pylint >=1.6,<1.7', 'pytest >=3,<4',
|
'pylint >=1.6,<1.7',
|
||||||
'pytest-cov >=2.4,<2.5', 'sphinx', 'sphinx_rtd_theme', 'yapf'
|
'pytest >=3,<4',
|
||||||
],
|
'pytest-cov >=2.4,<2.5',
|
||||||
'jupyter': ['jupyter >=1.0,<1.1', 'ipywidgets >=6.0.0.beta5']
|
'sphinx',
|
||||||
},
|
'sphinx_rtd_theme',
|
||||||
url='https://bonobo-project.org/',
|
'yapf'],
|
||||||
download_url='https://github.com/python-bonobo/bonobo/tarball/{version}'.format(version=version),
|
'jupyter': ['jupyter >=1.0,<1.1', 'ipywidgets >=6.0.0.beta5']},
|
||||||
|
url = 'https://bonobo-project.org/',
|
||||||
|
download_url = 'https://github.com/python-bonobo/bonobo/tarball/{version}'.format(version=version),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user