From e98b72e9c8f56b424fe7221438e1c451b0ed3eb7 Mon Sep 17 00:00:00 2001 From: Kevin Tindall Date: Tue, 18 Jan 2022 14:23:08 -0600 Subject: [PATCH] Require cython in the build-system --- pyproject.toml | 6 ++++++ setup.py | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 pyproject.toml diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..b7d9ec3 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,6 @@ +[build-system] +requires = [ + "Cython >= 0.20", + "setuptools >= 58.3", +] +build-backend = "setuptools.build_meta" diff --git a/setup.py b/setup.py index 935aa16..177efc3 100644 --- a/setup.py +++ b/setup.py @@ -81,9 +81,7 @@ setup( author_email="jackrobison@lbry.com", url="https://github.com/lbryio/lbry-rocksdb", license='BSD License', - python_requires=">=3.7.0", - setup_requires=['setuptools>=25', 'Cython>=0.20'], - install_requires=['setuptools>=25'], + python_requires=">=3.7.0", package_dir={'rocksdb': 'rocksdb'}, packages=find_packages('.'), ext_modules=cythonize([Extension( -- 2.45.2