Skip to content
Open
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
68 changes: 68 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
[build-system]
requires = ["setuptools>=64", "wheel", "setuptools_scm>=8.1"]
build-backend = "setuptools.build_meta"

[project]
name = "hydra"
authors = [
{name = "Phil Bull", email="phil.bull@manchester.ac.uk"},
{name = "Hugh Garsden", email="hugh.garsden@manchester.ac.uk"},
{name = "Katrine A. Glasscock", email="katrine.glasscock@manchester.ac.uk"},
Comment thread
mwilensky768 marked this conversation as resolved.
{name = "Michael J. Wilensky", email="michael.wilensky@mcgill.ca"},
]
maintainers = [
{name = "Phil Bull", email="phil.bull@manchester.ac.uk"},
]
description = "Gibbs sampling for 21cm cosmology experiments"
readme = "README.md"
dynamic = ["version"]
dependencies = [
numpy,
pyuvdata,
scipy,
healpy,
matvis,
pygdsm,
pyuvsim,
spherical,
hera_sim,
]
requires-python = ">=3.11"
keywords = ["Gibbs sampling", "Bayesian inference"]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Astronomy",
]

[project.urls]
Repository = "https://github.com/HydraRadio/Hydra"
Documentation = "https://hydraradio.github.io/Hydra/api/"

# Note that this approach is "discouraged" in favor of [project.scripts], but
# that requires entry-point functions, which would require some refactoring.
[tool.setuptools]
script-files = [
"scripts/beam_diagnostic.py",
"scripts/chain_mix.py",
"scripts/concatenate_uvh5.py",
"scripts/freqidx_select.py",
"scripts/generate_perturbed_beam.py",
"scripts/generate_slurm.py",
"scripts/minimal_antenna_set.py",
"scripts/precompute_response_sh.py",
"scripts/precompute_response_sh_singlefreq.py",
"scripts/precompute_response_sh_singlefreq_general.py",
"scripts/redundant_select.py",
"scripts/shortbls_select.py",
"power_beam_example.py",
"per_antenna_beam_example.py",
"beam_example_utils.py",
"example.py"
Comment thread
mwilensky768 marked this conversation as resolved.
]

# This has to be here for Mac builds to work.
[tool.setuptools_scm]
version_file = "hydra/version.py"
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pygdsm
pyuvsim
spherical
hera_sim
pyuvdata>=3.2.3
pyuvdata>=3.2.3
Loading