mirror of
https://github.com/rmontanana/PythonCythonTemplate.git
synced 2025-08-15 23:46:00 +00:00
Initial commit
This commit is contained in:
24
setup.py
Normal file
24
setup.py
Normal file
@@ -0,0 +1,24 @@
|
||||
"""
|
||||
Calling
|
||||
$python setup.py build_ext --inplace
|
||||
will build the extension library in the current file.
|
||||
"""
|
||||
|
||||
from setuptools import Extension, setup
|
||||
|
||||
setup(
|
||||
ext_modules=[
|
||||
Extension(
|
||||
name="testcython.ctest",
|
||||
sources=[
|
||||
"src/testcython/ctest.pyx",
|
||||
"src/csrc/Test.cpp",
|
||||
],
|
||||
language="c++",
|
||||
include_dirs=["testcython"],
|
||||
extra_compile_args=[
|
||||
"-std=c++17",
|
||||
],
|
||||
),
|
||||
]
|
||||
)
|
Reference in New Issue
Block a user