pyo3/examples/word-count/setup.py

22 lines
623 B
Python

from setuptools import setup
from setuptools_rust import RustExtension
setup(
name="word-count",
version="0.1.0",
classifiers=[
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Programming Language :: Python",
"Programming Language :: Rust",
"Operating System :: POSIX",
"Operating System :: MacOS :: MacOS X",
],
packages=["word_count"],
rust_extensions=[RustExtension("word_count.word_count", "Cargo.toml", debug=False)],
include_package_data=True,
zip_safe=False,
)