forked from rougier/gl-agg
/
setup.py
executable file
·26 lines (25 loc) · 1.05 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#-----------------------------------------------------------------------------
# Copyright (C) 2013 Nicolas P. Rougier
#
# Distributed under the terms of the BSD License. The full license is in
# the file COPYING, distributed as part of this software.
#-----------------------------------------------------------------------------
import os
import numpy
from distutils.core import setup
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
setup( name = "glagg",
version = "1.0",
packages = ['glagg',
'glagg.sdf',
'glagg.tests'],
package_data = {'glagg': ['shaders/*.vert',
'shaders/*.frag',
'fonts/Vera.ttf'] },
cmdclass={'build_ext': build_ext},
ext_modules=[Extension("glagg.sdf.sdf",
sources=["glagg/sdf/_sdf.pyx", "glagg/sdf/sdf.c"],
include_dirs=[numpy.get_include()])] )