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

@ -82,8 +82,6 @@ setup(
url="https://github.com/lbryio/lbry-rocksdb", url="https://github.com/lbryio/lbry-rocksdb",
license='BSD License', license='BSD License',
python_requires=">=3.7.0", python_requires=">=3.7.0",
setup_requires=['setuptools>=25', 'Cython>=0.20'],
install_requires=['setuptools>=25'],
package_dir={'rocksdb': 'rocksdb'}, package_dir={'rocksdb': 'rocksdb'},
packages=find_packages('.'), packages=find_packages('.'),
ext_modules=cythonize([Extension( ext_modules=cythonize([Extension(