diff --git a/arrayfire/__init__.py b/arrayfire/__init__.py index b48b9ca..e5f2079 100755 --- a/arrayfire/__init__.py +++ b/arrayfire/__init__.py @@ -160,7 +160,6 @@ "Interp", "IterativeDeconv", "Pad", - "pi", ] from arrayfire.library.constants import ( @@ -183,7 +182,6 @@ TopK, VarianceBias, YCCStd, - pi, ) __all__ += [ diff --git a/arrayfire/library/constants.py b/arrayfire/library/constants.py index f6cfb43..4fd76e2 100644 --- a/arrayfire/library/constants.py +++ b/arrayfire/library/constants.py @@ -51,5 +51,3 @@ import arrayfire_wrapper.lib as wrapper import arrayfire as af - -pi = wrapper.constant(math.pi, (1,), af.float64) diff --git a/pyproject.toml b/pyproject.toml index 49db3af..4ea40fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" @@ -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 = '''