Require cython in the build-system

This commit is contained in:
Kevin Tindall 2022-01-18 14:23:08 -06:00
parent bd1027a4ae
commit e98b72e9c8
No known key found for this signature in database
GPG key ID: EEBA2FAD670E49AB
2 changed files with 7 additions and 3 deletions

6
pyproject.toml Normal file
View file

@ -0,0 +1,6 @@
[build-system]
requires = [
"Cython >= 0.20",
"setuptools >= 58.3",
]
build-backend = "setuptools.build_meta"

View file

@ -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(