python/setup.py
author Tero Marttila <terom@fixme.fi>
Thu, 31 Dec 2009 16:53:07 +0200
changeset 20 f0d1011e8874
parent 18 f92a24ab046e
permissions -rw-r--r--
cleanup mutex when cancel'd in pthread_cond_wait
16
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     1
from distutils.core import setup
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     2
from distutils.extension import Extension
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     3
from Cython.Distutils import build_ext
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     4
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     5
setup(
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     6
    name = 'pngtiles',
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     7
    cmdclass = {'build_ext': build_ext},
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     8
    ext_modules = [
18
f92a24ab046e add missing lib/tile.*
Tero Marttila <terom@fixme.fi>
parents: 16
diff changeset
     9
        Extension("pypngtile", ["pngtile.pyx"],
16
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    10
            include_dirs = ['../include'],
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    11
            library_dirs = ['../lib'],
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    12
            libraries = ['pngtile'],
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    13
        ),
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    14
    ],
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    15
)
6e781cf3d459 move public headers to include/, python stuff to python/ sub-dir
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
    16