Source

xnet-hacks / setup.py

Full commit
import sys
from setuptools import setup

long_description="""
The xnet prototype
==========================

xnet provides tools for robustly running programs on remote machines.
Example:

* on a commonly (internet) reachable site (addressed as 'HOST') type::

    xnet-server start

* on a slave type::

    xnet-slave connect HOST

* on any host type::

    xnet run python -c "import sys ; print (sys.platform)"

  The latter will run the specified command on the slave
  and report its standard output so you should see the platform
  on which the slave is running.

* for the commands to work you need to install 'xnet' on all computers.

For more information, docs and many examples please checkout the `home page`_:

http://codespeak.net/xnet

.. _`home page`: http://codespeak.net/xnet
"""


def main():
    install_requires=['eventlet', 'argparse', 'py']
    setup(
        name='xnet',
        description='xnet managing distributed command execution',
        long_description=long_description,
        url='http://codespeak.net/xnet',
        version='0.5',
        license='GPLv2 or later',
        platforms=['unix', 'linux', 'osx', 'cygwin', 'win32'],
        author='holger krekel',
        author_email='holger@merlinux.eu',
        packages=['xnet', ],
        entry_points={'console_scripts': [
                        'xnet-server=xnet.server:main',
                        'xnet-slave=xnet.slave:main',
                        'xnet=xnet.tool:main',
                        ]
        },
        install_requires=install_requires,
        zip_safe=True,
        classifiers=[
            'Development Status :: 3 - Alpha',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: GNU General Public License (GPL)',
             'Operating System :: POSIX',
             'Operating System :: Microsoft :: Windows',
             'Operating System :: MacOS :: MacOS X',
             'Topic :: Software Development :: Testing',
             'Topic :: Software Development :: Libraries',
             'Topic :: Utilities',
             'Programming Language :: Python',
        ],
    )

if __name__ == '__main__':
    main()