If the :{en|dis}able command would have no effect, it changes all other
[polysh.git] / setup.py
blobb24bd738a6f25a5d672dcec9e746099e989abf7f
1 #!/usr/bin/env python
3 import sys
5 sys.path.insert(0, 'setuptools-0.6c6-py2.4.egg')
6 from setuptools import setup, find_packages, command
7 from gsh.version import VERSION
9 # Monkey patch the install command so that it also installs the man page
10 # using the install_data command.
11 vanilla_install_run = command.install.install.run
12 def install_also_install_data(self):
13 vanilla_install_run(self)
14 self.run_command('install_data')
16 command.install.install.run = install_also_install_data
18 setup(name='gsh',
19 version=VERSION,
20 description='Group Shell',
21 long_description=
22 """gsh is used to launch several remote shells on many machines at the same
23 time and control them from a single command prompt.""",
24 author='Guillaume Chazarain',
25 author_email='guichaz@gmail.com',
26 url='http://guichaz.free.fr/gsh',
27 scripts=['bin/gsh'],
28 data_files=[('share/man/man1', ['gsh.1'])],
29 packages=find_packages(),
30 license='GPL'