1#!/usr/bin/env python
2#
3# Copyright (C) 2009-2016 Wander Lairson Costa
4#
5# The following terms apply to all files associated
6# with the software unless explicitly disclaimed in individual files.
7#
8# The authors hereby grant permission to use, copy, modify, distribute,
9# and license this software and its documentation for any purpose, provided
10# that existing copyright notices are retained in all copies and that this
11# notice is included verbatim in any distributions. No written agreement,
12# license, or royalty fee is required for any of the authorized uses.
13# Modifications to this software may be copyrighted by their authors
14# and need not follow the licensing terms described here, provided that
15# the new terms are clearly indicated on the first page of each file where
16# they apply.
17#
18# IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY
19# FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES
20# ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY
21# DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE
22# POSSIBILITY OF SUCH DAMAGE.
23#
24# THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,
25# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,
26# FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.  THIS SOFTWARE
27# IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE
28# NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR
29# MODIFICATIONS.
30
31from setuptools import setup
32
33import usb
34
35
36setup(
37    name='pyusb',
38    version=usb.__version__,
39    description='Python USB access module',
40    author='Wander Lairson Costa',
41    author_email='wander.lairson@gmail.com',
42    license = 'BSD',
43    url='http://walac.github.io/pyusb',
44    packages=['usb', 'usb.backend'],
45    long_description =
46"""
47PyUSB offers easy USB devices communication in Python.
48It should work without additional code in any environment with
49Python >= 2.4, ctypes and an pre-built usb backend library
50(currently, libusb 0.1.x, libusb 1.x, and OpenUSB).
51""",
52    classifiers=[
53        'Development Status :: 5 - Production/Stable',
54        'Intended Audience :: Developers',
55        'Intended Audience :: Information Technology',
56        'Intended Audience :: Manufacturing', # USB automation, or mfg USB devs
57        'Intended Audience :: Science/Research', # interface with instruments
58        'Intended Audience :: System Administrators', # integrate strange devs
59        'Intended Audience :: Telecommunications Industry', # telecomm devs
60        'License :: OSI Approved :: BSD License',
61        'Natural Language :: English',
62        # try to union the OSes that can build any of the backend libraries...
63        'Operating System :: MacOS :: MacOS X',
64        'Operating System :: Microsoft :: Windows :: Windows Vista',
65        'Operating System :: Microsoft :: Windows :: Windows 7',
66        'Operating System :: POSIX :: BSD :: FreeBSD',
67        'Operating System :: POSIX :: BSD :: NetBSD',
68        'Operating System :: POSIX :: BSD :: OpenBSD',
69        'Operating System :: POSIX :: Linux',
70        'Operating System :: POSIX :: SunOS/Solaris',
71        'Programming Language :: Python :: 2.4',
72        'Programming Language :: Python :: 2.5',
73        'Programming Language :: Python :: 2.6',
74        'Programming Language :: Python :: 2.7',
75        'Programming Language :: Python :: 3',
76        # source(CPython,Jython,IronPython,PyPy): "The Long Term" section of
77        # http://ojs.pythonpapers.org/index.php/tpp/article/viewFile/23/23
78        'Programming Language :: Python :: Implementation :: CPython',
79        'Programming Language :: Python :: Implementation :: IronPython',
80        'Programming Language :: Python :: Implementation :: Jython',
81        'Programming Language :: Python :: Implementation :: PyPy',
82        'Topic :: Scientific/Engineering :' \
83            ': Interface Engine/Protocol Translator',
84        'Topic :: Software Development :: Libraries',
85        'Topic :: Software Development :: Libraries :: Python Modules',
86        'Topic :: System :: Hardware :: Hardware Drivers'
87    ]
88)
89
90