From eed920e167d058b188142612a1f0b8ae670b64bd Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Wed, 20 May 2020 21:56:53 -0700 Subject: [PATCH] src/sage/tests: Move Extension options from src/module_list.py to distutils directives --- src/module_list.py | 6 +----- src/sage/tests/stl_vector.pyx | 2 ++ 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/module_list.py b/src/module_list.py index 743e83573ce..d578441d7c9 100644 --- a/src/module_list.py +++ b/src/module_list.py @@ -1411,10 +1411,6 @@ def uname_specific(name, value, alternative): ## ################################ - Extension('sage.tests.stl_vector', - sources = ['sage/tests/stl_vector.pyx'], - language = 'c++'), + Extension('*', ['sage/tests/**/*.pyx']) - Extension('sage.tests.cython', - sources = ['sage/tests/cython.pyx']), ] diff --git a/src/sage/tests/stl_vector.pyx b/src/sage/tests/stl_vector.pyx index 5eb733dacd3..f3b29b30dfe 100644 --- a/src/sage/tests/stl_vector.pyx +++ b/src/sage/tests/stl_vector.pyx @@ -1,3 +1,5 @@ +# distutils: language = c++ + """ Example of a class wrapping an STL vector