Last active
February 25, 2024 00:52
-
-
Save oory33/4262ac0ab512f4d49c33595ebbeedc7a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from setuptools import setup, Extension | |
from Cython.Build import cythonize | |
import Cython.Compiler.Options | |
Cython.Compiler.Options.docstrings = False | |
ext_modules = cythonize( | |
[ | |
#module1 | |
Extension("libs.mymodule01", ["libs/mymodule01.py"]), | |
#module2 | |
Extension("libs.mymodule02", ["libs/mymodule02.py"]), | |
], compiler_directives=dict( | |
language_level="3", | |
always_allow_keywords=True | |
) | |
) | |
setup( | |
name="test01", | |
version='1.0.0', | |
ext_modules=ext_modules, | |
author="my-name", | |
author_email="my-mail@email.com", | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment