You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
557 B
Python

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}
)