Skip to content

Commit

Permalink
use pyproject.toml
Browse files Browse the repository at this point in the history
allow using recent cython
the expectation is that one would use the `build`
tool instead of invoking setup.py.
  • Loading branch information
shuffle2 authored and prusnak committed Oct 17, 2023
1 parent 1043fff commit c15845e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["setuptools", "Cython"]
build-backend = "setuptools.build_meta"
1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,5 @@ def find_version():
"Programming Language :: Python :: 3.9",
],
ext_modules=cythonize(modules, language_level=3),
setup_requires=["Cython<3"],
install_requires=["setuptools>=19.0"],
)

0 comments on commit c15845e

Please sign in to comment.