~ubuntu-branches/ubuntu/trusty/presage/trusty-proposed

« back to all changes in this revision

Viewing changes to setup.py.in

  • Committer: Bazaar Package Importer
  • Author(s): Matteo Vescovi
  • Date: 2011-08-06 09:26:15 UTC
  • Revision ID: james.westby@ubuntu.com-20110806092615-0wvhajaht9974ncx
Tags: upstream-0.8.6
ImportĀ upstreamĀ versionĀ 0.8.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
##########
 
3
#  Presage, an extensible predictive text entry system
 
4
#  ------------------------------------------------------
 
5
#
 
6
#  Copyright (C) 2008  Matteo Vescovi <matteo.vescovi@yahoo.co.uk>
 
7
#
 
8
#  This program is free software; you can redistribute it and/or modify
 
9
#  it under the terms of the GNU General Public License as published by
 
10
#  the Free Software Foundation; either version 2 of the License, or
 
11
#  (at your option) any later version.
 
12
#
 
13
#  This program is distributed in the hope that it will be useful,
 
14
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
15
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
16
#  GNU General Public License for more details.
 
17
#
 
18
#  You should have received a copy of the GNU General Public License along
 
19
#  with this program; if not, write to the Free Software Foundation, Inc.,
 
20
#  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
21
 
 
22
# Process this file with configure to produce setup.py
 
23
 
 
24
from distutils.core import setup, Extension
 
25
setup(name='@PACKAGE_NAME@',
 
26
      version='@PACKAGE_VERSION@',
 
27
      description='pypresage - Presage Python binding',
 
28
      author='Matteo Vescovi',
 
29
      author_email='@PACKAGE_BUGREPORT@',
 
30
      maintainer='Matteo Vescovi',
 
31
      maintainer_email='@PACKAGE_BUGREPORT@',
 
32
      url='http://presage.sourceforge.net/',
 
33
      packages=['', 'prompter', 'presagemate'],
 
34
      package_dir={'': 'bindings/python',
 
35
                   'prompter': '@top_srcdir@/apps/python/prompter',
 
36
                   'presagemate': '@top_srcdir@/apps/python/presagemate'},
 
37
      py_modules=['presage'],
 
38
      scripts=['bindings/python/presage_python_demo',
 
39
               'apps/python/pyprompter',
 
40
               'apps/python/pypresagemate'],
 
41
      ext_modules=[Extension('_presage', ['bindings/python/presage_wrap.cpp'],
 
42
                             include_dirs=['@top_srcdir@/src/lib'],
 
43
                             library_dirs=['src/lib/.libs'],
 
44
                             libraries=['presage'])],
 
45
      )