Indentation fix (and an excuse to test the repo!)
[pyghosd.git] / setup.py
blob6643c8b99b19306b9931911f237a62d917e81f8c
1 from distutils.core import setup, Extension
2 from distutils.command import sdist
3 from os import popen
5 class Sdist(sdist.sdist):
6 default_format = {'posix': 'bztar'}
8 setup(name='pyghosd',
9 version='0.0.1',
10 description='Crude ghosd text hack',
11 author='Sylvain Fourmanoit',
12 author_email='syfou@users.berlios.de',
13 license='BSD',
14 ext_modules=[Extension('_ghosd',
15 sources=['ghosd.c'],
16 libraries = ['X11'],
17 extra_compile_args =
18 popen("pkg-config --cflags ghosd").read().split(),
19 extra_link_args =
20 popen("pkg-config --libs ghosd").read().split()
24 py_modules=['ghosd'],
25 cmdclass = {'sdist' : Sdist}