2024-01-07 23:26:21 -05:00
|
|
|
from setuptools import setup, Extension
|
2024-01-05 13:04:01 -05:00
|
|
|
from Cython.Build import cythonize
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name = 'hexagram',
|
|
|
|
version = '0.1',
|
|
|
|
description = 'A CAN bus playground',
|
|
|
|
author = 'XANTRONIX',
|
|
|
|
author_email = 'contact@xantronix.com',
|
|
|
|
package_dir = {'': 'py'},
|
|
|
|
packages = [
|
|
|
|
'hexagram'
|
|
|
|
],
|
2024-01-08 21:32:30 -05:00
|
|
|
ext_modules = cythonize(Extension("*", [
|
|
|
|
"py/hexagram/*.pyx"
|
|
|
|
], include_dirs = [
|
|
|
|
"./include",
|
|
|
|
"/usr/include/cairo",
|
|
|
|
"/usr/include/pycairo"
|
|
|
|
], library_dirs = [
|
|
|
|
"src"
|
|
|
|
], libraries = [
|
|
|
|
"hexagram"
|
|
|
|
]), language_level = 3, gdb_debug = True)
|
2024-01-05 13:04:01 -05:00
|
|
|
)
|