From 26965944c84723350d348477004c6272bc0af7ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Mon, 23 Mar 2020 18:23:43 +0100 Subject: [PATCH] fix build --- example/setup.py | 4 ++-- example/tests/test_test.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/example/setup.py b/example/setup.py index 91c0bf0..9b1ac8c 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 a3ad730..61cff56 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 -- GitLab