Skip to content

Commit f5262ab

Browse files
committed
Some fixes
1 parent 1a27e97 commit f5262ab

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,13 @@ dependencies = [
3939
]
4040
dynamic = [
4141
"version",
42-
"dependencies",
43-
"optional-dependencies",
4442
]
4543
keywords = [
4644
]
4745
name = "s2fft"
4846
readme = ".pip_readme.rst"
4947
requires-python = ">=3.8"
50-
license.file = "LICENSE.txt"
48+
license.file = "LICENCE.txt"
5149
urls.homepage = "https://github.com/astro-informatics/s2fft"
5250

5351
[project.optional-dependencies]
@@ -103,7 +101,6 @@ filterwarnings = [
103101

104102
[tool.setuptools]
105103
packages = ["s2fft"]
106-
write_to = "s2fft/_version.py"
107104

108105
[tool.setuptools.package-data]
109106
s2fft = ["default-logging-config.yaml"]

s2fft/utils/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from . import healpix_ffts
88
from . import signal_generator
99
from . import rotation
10-
from . import jax_pritimive
10+
from . import jax_primitive
1111

1212
from jax.lib import xla_client
1313
from s2fft_lib import _s2fft

s2fft/utils/healpix_ffts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import torch
66
from s2fft.sampling import s2_samples as samples
77
from functools import partial
8-
from s2fft.utils.jax_pritimive import BasePrimitive, register_primitive
8+
from s2fft.utils.jax_primitive import BasePrimitive, register_primitive
99
import jaxlib.mlir.ir as ir
1010
from s2fft_lib import _s2fft
1111
from jaxlib.hlo_helpers import custom_call

0 commit comments

Comments
 (0)