Skip to content
Merged
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
14 changes: 14 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
pull_request:

jobs:

tests:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/tox.yml@v1
with:
Expand Down Expand Up @@ -40,3 +41,16 @@ jobs:
runs-on: ubuntu-20.04
- linux: py310-test-bitlevel
runs-on: ubuntu-20.04


publish:
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish.yml@v1
with:
test_extras: test
test_command: pytest --pyargs hyperion -m "not requires_hyperion_binaries"
targets: |
- linux
- macos
#- windows
secrets:
pypi_token: ${{ secrets.pypi_token }}
4 changes: 2 additions & 2 deletions docs/installation/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,11 @@ Python module

Install the Python module with::

pip install .
pip install ".[recommended]"

or::

pip install . --user
pip install ".[recommended]" --user

if you do not have root access. Check that the module installed correctly::

Expand Down
6 changes: 4 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[build-system]
requires = ["setuptools",
"setuptools_scm>=6.2",
"wheel",
"oldest-supported-numpy"]
"numpy>=2.0.0rc1"]
build-backend = 'setuptools.build_meta'

[tool.setuptools_scm]
write_to = "hyperion/_version.py"

[tool.cibuildwheel]
skip = "pp* *-musllinux* *aarch64* *i686*"
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ install_requires =
matplotlib>=1.5
astropy>=1.2
h5py>=2.4
yt>=3.2
decorator

[options.extras_require]
recommended =
yt>=3.2
docs =
sphinx
numpydoc
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ setenv =
deps =
bitlevel: numpy==1.21.*
extras =
recommended
test: test
allowlist_externals =
{toxinidir}/configure
Expand Down