Christian Egli | 68d43e1 | 2015-05-07 12:01:44 +0200 | [diff] [blame] | 1 | # Liblouis Python ctypes bindings |
| 2 | # |
| 3 | # Copyright (C) 2009 Eitan Isaacson <eitan@ascender.com> |
| 4 | # Copyright (C) 2010 James Teh <jamie@jantrid.net> |
| 5 | # |
| 6 | # This library is free software; you can redistribute it and/or |
| 7 | # modify it under the terms of the GNU Library General Public |
| 8 | # License as published by the Free Software Foundation; either |
| 9 | # version 2 of the License, or (at your option) any later version. |
| 10 | # |
| 11 | # This library is distributed in the hope that it will be useful, |
| 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 | # Library General Public License for more details. |
| 15 | # |
| 16 | # You should have received a copy of the GNU Library General Public |
| 17 | # License along with this library; if not, write to the |
| 18 | # Free Software Foundation, Inc., Franklin Street, Fifth Floor, |
| 19 | # Boston MA 02110-1301 USA. |
| 20 | |
Eitan Isaacson | 7214145 | 2009-01-15 15:57:48 +0000 | [diff] [blame] | 21 | r"""Python bindings for liblouis |
Eitan Isaacson | 7214145 | 2009-01-15 15:57:48 +0000 | [diff] [blame] | 22 | """ |
James Teh | de23299 | 2009-01-16 11:06:55 +0000 | [diff] [blame] | 23 | |
James Teh | 2ec7cab | 2010-07-21 01:51:51 +0000 | [diff] [blame] | 24 | from distutils.core import setup |
Eitan Isaacson | 7214145 | 2009-01-15 15:57:48 +0000 | [diff] [blame] | 25 | import louis |
| 26 | |
| 27 | classifiers = [ |
| 28 | 'Development Status :: 4 - Beta', |
| 29 | 'Intended Audience :: Developers', |
| 30 | 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', |
| 31 | 'Programming Language :: Python', |
| 32 | 'Topic :: Text Processing :: Linguistic', |
| 33 | ] |
| 34 | |
| 35 | setup(name="louis", |
James Teh | de23299 | 2009-01-16 11:06:55 +0000 | [diff] [blame] | 36 | description=__doc__, |
Eitan Isaacson | 7214145 | 2009-01-15 15:57:48 +0000 | [diff] [blame] | 37 | download_url = "http://code.google.com/p/liblouis/", |
| 38 | license="LGPLv2.2", |
| 39 | classifiers=classifiers, |
| 40 | version=louis.version().split(',')[0].split('-',1)[-1], |
| 41 | packages=["louis"]) |