From df3d57fd2d7a77db8a97355916813b4d01d53dd6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Sun, 5 Jan 2020 12:37:09 +0100 Subject: [PATCH] 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. --- setup.py | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 setup.py diff --git a/setup.py b/setup.py deleted file mode 100644 index 0be28e6..0000000 --- a/setup.py +++ /dev/null @@ -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, -)