diff --git a/example/setup.py b/example/setup.py index 91c0bf0f28ae98a96176951fcadb5a23d3aacff5..9b1ac8c10d268988e1b6beeaee5747eabd409b70 100644 --- a/example/setup.py +++ b/example/setup.py @@ -1,4 +1,4 @@ -from setuptools import setup, find_packages +from setuptools import setup from snakehouse import Multibuild, build from setuptools import Extension @@ -9,7 +9,7 @@ cython_multibuilds = [ Multibuild('example_module', ['example_module/test.pyx', 'example_module/test2.pyx', 'example_module/test3/test3.pyx', 'example_module/test_n.c']), - Extension('example', ['example2/example.pyx']) + Extension('example2.example', ['example2/example.pyx']) ] # first argument is used directly by snakehouse, the rest and **kwargs are passed to diff --git a/example/tests/test_test.py b/example/tests/test_test.py index a3ad7302bdae67a3621a0d6645819cbedc2fd161..61cff5660ad0975e088c1cf007c8d85fd94c0085 100644 --- a/example/tests/test_test.py +++ b/example/tests/test_test.py @@ -1,7 +1,7 @@ from example_module.test import times_two from example_module.test2 import times_three, times_five from example_module.test3.test3 import times_four -from example.example2 import test +from example2.example import test import unittest