| 1 |
#!/usr/bin/python |
| 2 |
from distutils.core import setup, Extension |
| 3 |
|
| 4 |
#cflags = ['-Wall', '-fPIC', '-g', '-O0'] |
| 5 |
cflags = ['-Wall', '-fPIC', '-O3'] |
| 6 |
|
| 7 |
ext = Extension('groongaql', |
| 8 |
libraries = ['groonga'], |
| 9 |
sources = ['groongaql.c'], |
| 10 |
extra_compile_args = cflags) |
| 11 |
|
| 12 |
setup(name = 'groongaql', |
| 13 |
version = '1.0', |
| 14 |
description = 'python GQTP', |
| 15 |
long_description = ''' |
| 16 |
This is a GQTP Python API package. |
| 17 |
''', |
| 18 |
license='GNU LESSER GENERAL PUBLIC LICENSE', |
| 19 |
author = 'Brazil', |
| 20 |
author_email = 'groonga at razil.jp', |
| 21 |
ext_modules = [ext] |
| 22 |
) |