Skip to content

Commit

Permalink
Replace build_requires with setup_requires keyword (GH-238)
Browse files Browse the repository at this point in the history
setuptools doesn't have a `build_requires` keyword. By using the
`setup_requires` keyword, `pip install --use-pep517` will be able to
install Cython before building the package.
  • Loading branch information
xxyzz authored May 11, 2023
1 parent 19279ac commit d22da03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def write_file(filename, content):
],

packages=['lupa'],
build_requires=['Cython>=0.29.28'],
setup_requires=['Cython>=0.29.28'],
ext_modules=ext_modules,
libraries=ext_libraries,
**extra_setup_args
Expand Down

0 comments on commit d22da03

Please sign in to comment.