~ubuntu-branches/ubuntu/wily/pyicu/wily-proposed

« back to all changes in this revision

Viewing changes to setup.py

  • Committer: Bazaar Package Importer
  • Author(s): Bernd Zeimetz
  • Date: 2010-07-11 00:00:06 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20100711000006-5qwkzo9b3b0jv8an
Tags: 1.0-1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    from distutils.core import setup, Extension
8
8
 
9
9
 
10
 
VERSION = '0.9'
11
 
ICU_VERSION = '4.2.1'   # versions 3.6, 3.8 are also supported
 
10
VERSION = '1.0'
12
11
 
13
12
INCLUDES = {
14
13
    'darwin': ['/usr/local/include'],
70
69
      test_suite="test",
71
70
      url='http://pyicu.osafoundation.org/',
72
71
      author='Open Source Applications Foundation',
73
 
      ext_modules=[Extension('_PyICU',
 
72
      ext_modules=[Extension('_icu',
74
73
                             [filename for filename in os.listdir(os.curdir)
75
74
                              if filename.endswith('.cpp')],
76
75
                             include_dirs=_includes,
79
78
                             libraries=_libraries,
80
79
                             define_macros=[('PYICU_VER', '"%s"' %(VERSION))])
81
80
                   ],
82
 
      py_modules=['PyICU'])
 
81
      py_modules=['icu', 'PyICU', 'docs'])