2015-06-28 09:38:55 +00:00
|
|
|
#!/usr/bin/python
|
|
|
|
|
from distutils.core import setup, Extension
|
2015-07-24 06:43:34 +00:00
|
|
|
|
|
|
|
|
core_ext = Extension(
|
|
|
|
|
name = 'core',
|
|
|
|
|
sources = ['rgbmatrix/core.cpp'],
|
2015-06-28 09:38:55 +00:00
|
|
|
include_dirs = ['../include'],
|
|
|
|
|
library_dirs = ['../lib'],
|
|
|
|
|
libraries = ['rgbmatrix'],
|
2015-07-24 06:43:34 +00:00
|
|
|
extra_compile_args = ["-O3", "-Wall"],
|
|
|
|
|
language = 'c++'
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
graphics_ext = Extension(
|
|
|
|
|
name = 'graphics',
|
|
|
|
|
sources = ['rgbmatrix/graphics.cpp'],
|
|
|
|
|
include_dirs = ['../include'],
|
|
|
|
|
library_dirs = ['../lib'],
|
|
|
|
|
libraries = ['rgbmatrix'],
|
|
|
|
|
extra_compile_args = ["-O3", "-Wall"],
|
2015-06-28 09:38:55 +00:00
|
|
|
language = 'c++'
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
setup(
|
2015-07-24 06:43:34 +00:00
|
|
|
name = 'rgbmatrix',
|
2015-06-28 09:38:55 +00:00
|
|
|
version = '0.0.1',
|
|
|
|
|
author = 'Christoph Friedrich',
|
|
|
|
|
author_email = 'christoph.friedrich@vonaffenfels.de',
|
|
|
|
|
classifiers = ['Development Status :: 3 - Alpha'],
|
2015-07-24 06:43:34 +00:00
|
|
|
ext_package = 'rgbmatrix',
|
|
|
|
|
ext_modules = [core_ext, graphics_ext],
|
|
|
|
|
packages = ['rgbmatrix']
|
2015-06-28 09:38:55 +00:00
|
|
|
)
|