Merge pull request #2 from rh-marketingops/build-requires-cython

Require cython in the build-system
This commit is contained in:
Jack Robison 2022-03-09 11:59:39 -05:00 committed by GitHub
commit 7e70ea8495
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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(