updating pyproject

This commit is contained in:
Palash Tyagi 2024-11-22 13:38:02 +00:00
parent 3ffab4c95d
commit 8c9034e7d9
2 changed files with 11 additions and 1 deletions

2
.gitignore vendored
View File

@ -7,5 +7,5 @@ __pycache__/
*.log
.idea/
/target
build/
data/

View File

@ -2,6 +2,16 @@
requires = ["maturin>=1.0,<2.0"]
build-backend = "maturin"
[project]
name = "msyrs"
version = "0.0.1"
requires-python = ">=3.7"
classifiers = [
"Programming Language :: Rust",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
]
[tool.maturin]
# "extension-module" tells pyo3 we want to build an extension module (skips linking against libpython.so)
features = ["pyo3/extension-module"]