| 1 | #!/usr/bin/env python |
|---|
| 2 | # -*- coding: utf-8 -*- |
|---|
| 3 | # |
|---|
| 4 | # =========================================================================== |
|---|
| 5 | # Copyright (c) 2012, Atzm WATANABE <atzm@atzm.org> |
|---|
| 6 | # All rights reserved. |
|---|
| 7 | # |
|---|
| 8 | # Redistribution and use in source and binary forms, with or without |
|---|
| 9 | # modification, are permitted provided that the following conditions are met: |
|---|
| 10 | # |
|---|
| 11 | # 1. Redistributions of source code must retain the above copyright notice, |
|---|
| 12 | # this list of conditions and the following disclaimer. |
|---|
| 13 | # 2. Redistributions in binary form must reproduce the above copyright |
|---|
| 14 | # notice, this list of conditions and the following disclaimer in the |
|---|
| 15 | # documentation and/or other materials provided with the distribution. |
|---|
| 16 | # |
|---|
| 17 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
|---|
| 18 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|---|
| 19 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|---|
| 20 | # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE |
|---|
| 21 | # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR |
|---|
| 22 | # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF |
|---|
| 23 | # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS |
|---|
| 24 | # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN |
|---|
| 25 | # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
|---|
| 26 | # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
|---|
| 27 | # POSSIBILITY OF SUCH DAMAGE. |
|---|
| 28 | # =========================================================================== |
|---|
| 29 | # |
|---|
| 30 | # $Id$ |
|---|
| 31 | |
|---|
| 32 | import os |
|---|
| 33 | from setuptools import setup |
|---|
| 34 | |
|---|
| 35 | longdesc = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read() |
|---|
| 36 | |
|---|
| 37 | setup( |
|---|
| 38 | name='etherws', |
|---|
| 39 | version='0.2', |
|---|
| 40 | description='Ethernet over WebSocket tunneling server/client', |
|---|
| 41 | long_description=longdesc, |
|---|
| 42 | author='Atzm WATANABE', |
|---|
| 43 | author_email='atzm@atzm.org', |
|---|
| 44 | license='BSD-2', |
|---|
| 45 | entry_points={'console_scripts': ['etherws = etherws:main']}, |
|---|
| 46 | py_modules=['etherws'], |
|---|
| 47 | keywords=['http', 'websocket', 'ethernet', 'network'], |
|---|
| 48 | platforms=['Linux'], |
|---|
| 49 | install_requires=[ |
|---|
| 50 | 'python-pytun>=0.2', |
|---|
| 51 | 'websocket-client>=0.7.0', |
|---|
| 52 | 'tornado>=2.2.1', |
|---|
| 53 | ], |
|---|
| 54 | classifiers=[ |
|---|
| 55 | 'Development Status :: 1 - Planning', |
|---|
| 56 | 'License :: OSI Approved :: BSD License', |
|---|
| 57 | 'Operating System :: POSIX :: Linux', |
|---|
| 58 | 'Programming Language :: Python :: 2.7', |
|---|
| 59 | 'Topic :: System :: Networking', |
|---|
| 60 | ], |
|---|
| 61 | ) |
|---|