From fa29c3c5b34d638c1a3036a8c232147c5cd9749c Mon Sep 17 00:00:00 2001 From: Salvo 'LtWorf' Tomaselli Date: Sat, 30 Jul 2022 00:52:36 +0200 Subject: [PATCH] Use cython in setup --- gensetup.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gensetup.py b/gensetup.py index 124cdae..a751bad 100755 --- a/gensetup.py +++ b/gensetup.py @@ -91,7 +91,11 @@ def load_version(): f'''#!/usr/bin/python3 # This file is auto generated. Do not modify from setuptools import setup + +from Cython.Build import cythonize + setup( + ext_modules = cythonize(["typedload/dataloader.py", "typedload/typechecks.py", "typedload/exceptions.py"]), name='typedload', version={load_version()!r}, description='{DESCRIPTION}',