Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions arrayfire/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@
"Interp",
"IterativeDeconv",
"Pad",
"pi",
]

from arrayfire.library.constants import (
Expand All @@ -183,7 +182,6 @@
TopK,
VarianceBias,
YCCStd,
pi,
)

__all__ += [
Expand Down
2 changes: 0 additions & 2 deletions arrayfire/library/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,3 @@
import arrayfire_wrapper.lib as wrapper

import arrayfire as af

pi = wrapper.constant(math.pi, (1,), af.float64)
7 changes: 2 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"

[project]
name = "arrayfire"
dynamic = ["version"]
dependencies = ["arrayfire-binary-python-wrapper == 0.7.0+af3.9.0"]
version = "0.1.0"
dependencies = ["arrayfire-binary-python-wrapper == 0.7.0"]
requires-python = ">=3.10"
description = "ArrayFire Python"
readme = "README.md"
Expand Down Expand Up @@ -49,9 +49,6 @@ benchmarks = ["numpy ~= 1.26.4"]
[project.entry-points.array_api]
array_api = "arrayfire.array_api"

[tool.setuptools.dynamic]
version = { attr = "arrayfire.__version__" }

[tool.black]
line-length = 119
exclude = '''
Expand Down