Skip to content

Commit 03603ad

Browse files
committed
hotfix(np): need numpy for lib init now. "ascontiguousarray"
1 parent 4713502 commit 03603ad

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ classifiers = [
2121
"Programming Language :: Python :: 3.12",
2222
"Programming Language :: Python :: 3.13",
2323
]
24+
dependencies = [
25+
"numpy",
26+
]
2427

2528
[project.urls]
2629
urls = "https://github.com/Kin-Zhang/linefit"

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
'Programming Language :: Python :: 3.13',
2222
],
2323
install_requires=[
24-
# List your package dependencies here
24+
"numpy",
2525
],
26+
python_requires='>=3.8',
2627
)

0 commit comments

Comments
 (0)