Require cython in the build-system #2

Merged
kevinkjt2000 merged 1 commit from build-requires-cython into master 2022-03-09 17:59:39 +01:00
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(