Remove setup.py.
The setup.py will not be needed anymore since maturin will be used to build python packages. Maturin requires only the cargo.toml configuration file.
This commit is contained in:
parent
2d6ecff430
commit
df3d57fd2d
27
setup.py
27
setup.py
@ -1,27 +0,0 @@
|
|||||||
from setuptools import setup
|
|
||||||
from os import path
|
|
||||||
|
|
||||||
try:
|
|
||||||
from setuptools_rust import Binding, RustExtension
|
|
||||||
except ImportError:
|
|
||||||
print("Please install setuptools-rust package")
|
|
||||||
raise SystemExit(1)
|
|
||||||
|
|
||||||
this_directory = path.abspath(path.dirname(__file__))
|
|
||||||
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
|
|
||||||
long_description = f.read()
|
|
||||||
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name="tantivy",
|
|
||||||
version="0.10.1",
|
|
||||||
rust_extensions=[RustExtension("tantivy.tantivy", binding=Binding.PyO3)],
|
|
||||||
packages=["tantivy"],
|
|
||||||
description=("Python bindings for the Tantivy full-text search engine "
|
|
||||||
"library"),
|
|
||||||
long_description=long_description,
|
|
||||||
long_description_content_type="text/markdown",
|
|
||||||
license="MIT",
|
|
||||||
|
|
||||||
zip_safe=False,
|
|
||||||
)
|
|
||||||
Loading…
Reference in New Issue
Block a user