diff --git a/README.rst b/README.rst index 2ff49bdf..f03dfec2 100644 --- a/README.rst +++ b/README.rst @@ -31,7 +31,7 @@ See the `documentation `_ * Install with ``pip install .`` or with ``pip install .[test]`` to also install the requirements for running tests * Optionally, if you have an MPI environment available and you would like to test the MPI capabilities of PySM, install ``mpi4py`` and ``libsharp``, check the documentation link above for more details. -* This repository uses Git LFS for Jupyter notebook files (*.ipynb). Ensure Git LFS is installed and run ``git lfs pull`` after cloning to fetch large files. +* This repository uses Git LFS for Jupyter notebook files (``*.ipynb``). Ensure Git LFS is installed and run ``git lfs pull`` after cloning to fetch large files. * Check code style with ``uv run flake8 src/pysm3 --count --max-line-length=100`` * Test with ``uv run pytest -v`` * Building docs requires ``pandoc``, not the python package, the actual ``pandoc`` command line tool, install it with conda or your package manager @@ -54,6 +54,7 @@ Release uv venv .venv uv pip install --python .venv/bin/python pip hatch + uv pip install --python .venv/bin/python -e .[test] Activate it for the remaining steps with ``source .venv/bin/activate``. 4. Run the test suite (at least ``pytest``) to verify the release build. diff --git a/docs/index.rst b/docs/index.rst index 4b0b3490..3da270ec 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -209,6 +209,7 @@ high-resolution templates shipped with PySM. Synchrotron curvature modelling Log-pol-tens formalism notebook WebSky bright source catalog workflow + Compare WebSky and Agora SZ templates Verify dust templates Verify synchrotron templates diff --git a/docs/models.rst b/docs/models.rst index e9a2426e..98521c61 100644 --- a/docs/models.rst +++ b/docs/models.rst @@ -144,7 +144,7 @@ Sunyaev–Zeldovich emission - **tsz3**: Lensed Thermal SZ emission from the `Agora simulations `_. Available at $N_{side}=8192$. -- **tsz4**: Thermal SZ emission from the `HalfDome simulations `_ 0.1 (generated using xgpaint with Battaglia16 profiles). Eleven realizations available at $N_{side}=8192$ by overriding the `template_name` with seeds: 100 (default), 102, 104, 106, 108, 110, 112, 114, 116, 118, 120. For example: `halfdome/0.1/tsz/y_b16_halo_res1_s102.fits`. For more details see :ref:`halfdome`. +- **tsz4**: Thermal SZ emission from the `HalfDome simulations `_ 0.1 (generated using xgpaint with Battaglia16 profiles). Eleven realizations available at $N_{side}=8192$ by overriding the `template_name` with seeds: 100 (default), 102, 104, 106, 108, 110, 112, 114, 116, 118, 120. For example: `halfdome/0.1/tsz/y_b16_halo_res1_s102.fits`. - **ksz1**: Kinetic SZ emission from WebSky 0.4. Available at $N_{side}=4096$. For more details see :ref:`websky`. diff --git a/docs/requirements.txt b/docs/requirements.txt index bfc8e78f..7f0ea826 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -4,7 +4,6 @@ numba numpy healpy ipykernel -pandoc sphinx-astropy sphinx-math-dollar nbsphinx diff --git a/pyproject.toml b/pyproject.toml index 63811d45..f5ca6b65 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,7 +29,6 @@ dependencies = [ "h5py", "scipy >= 1.10, < 1.15", "healpy >= 1.16.0", - "importlib_metadata;python_version<'3.8'", "numba", "numpy >= 1.21", "toml", @@ -62,7 +61,6 @@ docs = [ "ipykernel", "matplotlib", "nbsphinx", - "pandoc", "sphinx-pyproject", "sphinx-astropy", "sphinx-math-dollar", @@ -94,12 +92,12 @@ version-file = "src/pysm3/_version.py" [tool.hatch.build.targets.sdist] include = [ - "/src/pysm3", -] -packages = [ - "src/pysm3", + "/src/pysm3/**", ] +[tool.hatch.build.targets.sdist.force-include] +"src/pysm3/data/presets.cfg" = "src/pysm3/data/presets.cfg" + [tool.hatch.build.targets.wheel] include = [ "/src/pysm3/**",