File: setup.py

package info (click to toggle)
gpodder 2.20.1-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 5,228 kB
  • sloc: python: 16,951; makefile: 183; ansic: 140; sh: 97
file content (24 lines) | stat: -rw-r--r-- 743 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#
# Very simple wrapper around bindtextdomain() from GNU gettext/libintl,
# because gtk.Builder uses the C library version of gettext and not Python's
# gettext. Under Linux, we can use the locale module to directly use the
# C library's bindtextdomain() function, but not so under Win32.
#
# Build with:
#    python setup.py build -cmingw32
#    python setup.py install
#
# (based on http://sebsauvage.net/python/mingw.html)
#

import distutils
from distutils.core import setup, Extension

setup(name='gtkbuilderi18n',
      description='gtk.Builder() i18n Support for Win32',
      version='1.0',
      ext_modules=[Extension('_gtkbuilderi18n',
	                     ['gtkbuilderi18n.c', 'gtkbuilderi18n.i'],
			     libraries=['intl'])])