From fc251dce9bff596ccee3212cc8b516a76b3b0066 Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Tue, 19 Dec 2023 02:31:43 -0500 Subject: [PATCH] build: switch to dynamically compiling pyx --- ChangeLog | 8 ++++++++ setup.py | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index aa7fed2..5907c70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,14 @@ CHANGES ======= +* build: add pyproject.toml + +3.2.2 +----- + +* fix: add binding for top level functions +* build: update build for py312 + 3.2.1 ----- diff --git a/setup.py b/setup.py index e57babf..5611f88 100755 --- a/setup.py +++ b/setup.py @@ -20,13 +20,13 @@ def __repr__(self): ] setuptools.setup( - setup_requires=['pbr', 'numpy'], + setup_requires=['pbr', 'cython', 'numpy'], install_requires=['numpy'], ext_modules=[ setuptools.Extension( 'compresso', include_dirs=[ str(NumpyImport()) ], - sources=['compresso.cpp'], + sources=['compresso.pyx'], extra_compile_args=extra_compile_args, language='c++' )