2019-06-04 09:09:58 +00:00
|
|
|
from setuptools import setup
|
|
|
|
|
|
|
|
try:
|
|
|
|
from setuptools_rust import Binding, RustExtension
|
|
|
|
except ImportError:
|
|
|
|
print("Please install setuptools-rust package")
|
|
|
|
raise SystemExit(1)
|
|
|
|
|
|
|
|
setup(
|
|
|
|
name="tantivy",
|
2019-08-03 09:52:23 +00:00
|
|
|
version="0.10.1",
|
2019-06-04 09:09:58 +00:00
|
|
|
rust_extensions=[RustExtension("tantivy.tantivy", binding=Binding.PyO3)],
|
|
|
|
packages=["tantivy"],
|
|
|
|
zip_safe=False,
|
|
|
|
)
|