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.
master
Damir Jelić 2020-01-05 12:37:09 +01:00
parent 2d6ecff430
commit df3d57fd2d
1 changed files with 0 additions and 27 deletions

View File

@ -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,
)