install_requires.append('gnureadline') if sys.platform.startswith('win'): extras_require['terminal'].append('pyreadline>=2.0') else: install_requires.append('pexpect') everything = set() for deps in extras_require.values(): everything.update(deps) extras_require['all'] = everything if 'setuptools' in sys.modules: # setup.py develop should check for submodules from setuptools.command.develop import develop setup_args['cmdclass']['develop'] = require_submodules(develop) setup_args['cmdclass']['bdist_wheel'] = css_js_prerelease(get_bdist_wheel()) setuptools_extra_args['zip_safe'] = False setuptools_extra_args['entry_points'] = { 'console_scripts': find_entry_points(), 'pygments.lexers': [ 'ipythonconsole = IPython.lib.lexers:IPythonConsoleLexer', 'ipython = IPython.lib.lexers:IPythonLexer', 'ipython3 = IPython.lib.lexers:IPython3Lexer', ], } setup_args['extras_require'] = extras_require requires = setup_args['install_requires'] = install_requires # Script to be run by the windows binary installer after the default setup
# If we get script-installation working without setuptools, # then we can back off, but until then use it. # See Issue #369 on GitHub for more needs_setuptools.add('install') if len(needs_setuptools.intersection(sys.argv)) > 0: import setuptools # This dict is used for passing extra arguments that are setuptools # specific to setup setuptools_extra_args = {} if 'setuptools' in sys.modules: # setup.py develop should check for submodules from setuptools.command.develop import develop setup_args['cmdclass']['develop'] = require_submodules(develop) setuptools_extra_args['zip_safe'] = False setuptools_extra_args['entry_points'] = find_scripts( True, suffix='3' if PY3 else '') setup_args['extras_require'] = dict( parallel='pyzmq>=2.1.11', qtconsole=['pyzmq>=2.1.11', 'pygments'], zmq='pyzmq>=2.1.11', doc='Sphinx>=0.3', test='nose>=0.10.1', notebook=['tornado>=3.1', 'pyzmq>=2.1.11', 'jinja2'], nbconvert=['pygments', 'jinja2', 'Sphinx>=0.3']) everything = set() for deps in setup_args['extras_require'].values(): if not isinstance(deps, list):
# then we can back off, but until then use it. # See Issue #369 on GitHub for more needs_setuptools.add("install") if len(needs_setuptools.intersection(sys.argv)) > 0: import setuptools # This dict is used for passing extra arguments that are setuptools # specific to setup setuptools_extra_args = {} if "setuptools" in sys.modules: # setup.py develop should check for submodules from setuptools.command.develop import develop setup_args["cmdclass"]["develop"] = require_submodules(develop) setuptools_extra_args["zip_safe"] = False setuptools_extra_args["entry_points"] = find_scripts(True) setup_args["extras_require"] = dict( parallel="pyzmq>=2.1.11", qtconsole=["pyzmq>=2.1.11", "pygments"], zmq="pyzmq>=2.1.11", doc="Sphinx>=0.3", test="nose>=0.10.1", notebook=["tornado>=2.0", "pyzmq>=2.1.11", "jinja2"], nbconvert=["pygments", "jinja2", "Sphinx>=0.3"], ) everything = set() for deps in setup_args["extras_require"].values(): if not isinstance(deps, list):