pyo3/examples/setuptools-rust-starter/setup.py
2022-01-23 08:41:39 +00:00

14 lines
274 B
Python

import os
from setuptools import setup
from setuptools_rust import RustExtension
setup(
rust_extensions=[
RustExtension(
"setuptools_rust_starter._setuptools_rust_starter",
debug=os.environ.get("BUILD_DEBUG") == "1",
)
],
)