aboutsummaryrefslogtreecommitdiffstats
path: root/tests/shlib_test/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/shlib_test/setup.py')
-rwxr-xr-xtests/shlib_test/setup.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/shlib_test/setup.py b/tests/shlib_test/setup.py
new file mode 100755
index 00000000..122de77c
--- /dev/null
+++ b/tests/shlib_test/setup.py
@@ -0,0 +1,10 @@
+from setuptools import setup, Extension, SharedLibrary
+
+setup(
+ name="shlib_test",
+ ext_modules = [
+ SharedLibrary("hellolib", ["hellolib.c"]),
+ Extension("hello", ["hello.pyx"], libraries=["hellolib"])
+ ],
+ test_suite="test_hello.HelloWorldTest",
+)