pyo3/examples/setuptools-rust-starter/setup.py

14 lines
274 B
Python
Raw Normal View History

2022-01-22 23:15:36 +00:00
import os
from setuptools import setup
from setuptools_rust import RustExtension
setup(
2022-01-22 23:15:36 +00:00
rust_extensions=[
RustExtension(
"setuptools_rust_starter._setuptools_rust_starter",
debug=os.environ.get("BUILD_DEBUG") == "1",
)
],
)