From 9d34da8c361c10c29193b97e3ef60bf3663c5c44 Mon Sep 17 00:00:00 2001 From: Ansgar Wehrhahn <31626864+AWehrhahn@users.noreply.github.com> Date: Tue, 8 Jun 2021 15:05:39 +0200 Subject: [PATCH] fix cython setup --- cython/MANIFEST.in | 2 ++ cython/setup.py | 5 +++-- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 cython/MANIFEST.in diff --git a/cython/MANIFEST.in b/cython/MANIFEST.in new file mode 100644 index 0000000..3e72b65 --- /dev/null +++ b/cython/MANIFEST.in @@ -0,0 +1,2 @@ +include lib/* +include share/libsme/* \ No newline at end of file diff --git a/cython/setup.py b/cython/setup.py index d06e1d3..4280b8c 100644 --- a/cython/setup.py +++ b/cython/setup.py @@ -1,4 +1,4 @@ -from distutils.core import setup +from setuptools import setup from distutils.extension import Extension from os.path import dirname, join, realpath @@ -21,5 +21,6 @@ ) setup( name="smelib", - ext_modules=cythonize([examples_extension], language_level=3) + ext_modules=cythonize([examples_extension], language_level=3), + include_package_data=True, )