-
Notifications
You must be signed in to change notification settings - Fork 0
Add pyproject.toml #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
mwilensky768
wants to merge
8
commits into
main
Choose a base branch
from
pyproject
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
3505400
Get rid of redundant healpy entry
mwilensky768 3d14364
Add a pyproject.toml
mwilensky768 e000ae5
Add missing punctuation
mwilensky768 957092a
Remove python 3.10
mwilensky768 b3403cf
Actually enforce python 3.10 removal
mwilensky768 b6e32b5
Add pyuvdata dependency
mwilensky768 a05d6a4
Update script files
mwilensky768 81738a2
Merge branch 'main' into pyproject
mwilensky768 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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"}, | ||
| {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" | ||
|
mwilensky768 marked this conversation as resolved.
|
||
| ] | ||
|
|
||
| # This has to be here for Mac builds to work. | ||
| [tool.setuptools_scm] | ||
| version_file = "hydra/version.py" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,4 +6,4 @@ pygdsm | |
| pyuvsim | ||
| spherical | ||
| hera_sim | ||
| pyuvdata>=3.2.3 | ||
| pyuvdata>=3.2.3 | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.