Merge pull request #5188 from takluyver/callbacks

New events system
pull/37/head
Min RK 12 years ago
commit df1daf848e

@ -273,10 +273,14 @@ extras_require = dict(
notebook = ['tornado>=3.1', 'pyzmq>=2.1.11', 'jinja2'],
nbconvert = ['pygments', 'jinja2', 'Sphinx>=0.3']
)
if sys.version_info < (3, 3):
extras_require['test'].append('mock')
everything = set()
for deps in extras_require.values():
everything.update(deps)
extras_require['all'] = everything
install_requires = []
if sys.platform == 'darwin':
if any(arg.startswith('bdist') for arg in sys.argv) or not setupext.check_for_readline():

@ -639,10 +639,11 @@ def get_bdist_wheel():
if found:
lis.pop(idx)
for pkg in ("gnureadline", "pyreadline"):
for pkg in ("gnureadline", "pyreadline", "mock"):
_remove_startswith(requires, pkg)
requires.append("gnureadline; sys.platform == 'darwin' and platform.python_implementation == 'CPython'")
requires.append("pyreadline (>=2.0); sys.platform == 'win32' and platform.python_implementation == 'CPython'")
requires.append("mock; extra == 'test' and python_version < '3.3'")
for r in requires:
pkg_info['Requires-Dist'] = r
write_pkg_info(metadata_path, pkg_info)

Loading…
Cancel
Save