You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
1 year ago
|
#!/usr/bin/python
|
||
|
from distutils.core import setup, Extension
|
||
|
|
||
|
core_ext = Extension(
|
||
|
name = 'core',
|
||
|
sources = ['rgbmatrix/core.cpp'],
|
||
|
include_dirs = ['../../include'],
|
||
|
library_dirs = ['../../lib'],
|
||
|
libraries = ['rgbmatrix'],
|
||
|
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"],
|
||
|
language = 'c++'
|
||
|
)
|
||
|
|
||
|
setup(
|
||
|
name = 'rgbmatrix',
|
||
|
version = '0.0.1',
|
||
|
author = 'Christoph Friedrich',
|
||
|
author_email = 'christoph.friedrich@vonaffenfels.de',
|
||
|
classifiers = ['Development Status :: 3 - Alpha'],
|
||
|
ext_package = 'rgbmatrix',
|
||
|
ext_modules = [core_ext, graphics_ext],
|
||
|
packages = ['rgbmatrix']
|
||
|
)
|