summaryrefslogtreecommitdiff
path: root/setup.py
blob: 6e02bce494d8fd67a58928470a4a45acd8b0d1fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from distutils.core import setup
from distutils.command.install import install

class install_with_kernelspec(install):
    def run(self):
        install.run(self)
        from IPython.kernel.kernelspec import install_kernel_spec
        install_kernel_spec('kernelspec', 'bash', replace=True)

setup(name='bash_kernel',
      version='0.1',
      description='A bash kernel for IPython',
      author='Thomas Kluyver',
      author_email='thomas@kluyver.me.uk',
      py_modules=['bash_kernel'],
      cmdclass={'install': install_with_kernelspec},
      install_requires=['ipython>=3.0', 'pexpect>=3.3'],
      )