forked from eblot/pyftdi
-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·60 lines (56 loc) · 2.27 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2010-2012 Emmanuel Blot <[email protected]>
# Copyright (c) 2010-2012 Neotion
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
from distutils.core import setup
VERSION='0.5.2'
def _read(fname):
import os
return open(os.path.join(os.path.dirname(__file__),
'pyftdi', fname)).read()
setup(
name='pyftdi',
version=VERSION,
description='FTDI device driver',
author='Emmanuel Blot',
author_email='[email protected]',
license='LGPL v2',
keywords = 'driver ftdi usb serial spi jtag prolific rs232',
url='https://github.com/eblot/pyftdi',
download_url=''.join(('https://github.com/eblot/pyftdi/tarball/v',
VERSION)),
packages=['pyftdi','pyftdi.pyftdi','pyftdi.serialext'],
package_data={'pyftdi': ['*.rst'],
'pyftdi.serialext' : ['*.rst']},
requires=['pyusb (>= 1.0.0a2)'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or '
'Lesser General Public License (LGPL)',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Microsoft :: Windows :: Windows 95/98/2000',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Hardware :: Hardware Drivers',
],
long_description=_read('README.rst'),
)