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
20 changes: 10 additions & 10 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ jobs:
name: Setup docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- uses: actions/setup-python@v2
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
python-version: 3.9
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -27,14 +27,14 @@ jobs:
jupytext --to ipynb --pipe black --execute docs/markdown/point_source_analysis.md
jupytext --to ipynb --pipe black --execute docs/markdown/events.md
mv docs/markdown/*.ipynb docs/notebooks
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: notebooks-for-${{ github.sha }}
path: docs/notebooks
- name: Generate API docs
run: |
sphinx-apidoc -f -e -o docs/api icecube_tools
- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@v7
with:
name: api-for-${{ github.sha }}
path: docs/api
Expand All @@ -47,21 +47,21 @@ jobs:
- name: Setup
run: sudo apt-get install -y pandoc
- name: Checkout
uses: actions/checkout@main
uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-python@v2
- uses: actions/setup-python@v6
with:
python-version: 3.9
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install .
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: notebooks-for-${{ github.sha }}
path: docs/notebooks
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: api-for-${{ github.sha }}
path: docs/api
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
python-version: [3.9]
python-version: ['3.10']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -34,7 +34,7 @@ jobs:
run: |
pytest -vv --cov=icecube_tools/ --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.xml
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# icecube_tools

![CI](https://github.com/cescalara/icecube_tools/actions/workflows/tests.yml/badge.svg)
[![Docs](https://github.com/cescalara/icecube_tools/actions/workflows/docs.yml/badge.svg)](https://francescacapel.com/icecube_tools/)
[![codecov](https://codecov.io/gh/cescalara/icecube_tools/branch/master/graph/badge.svg?token=QL01QQPMBJ)](https://codecov.io/gh/cescalara/icecube_tools)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
![CI](https://github.com/nu-isance/icecube_tools/actions/workflows/tests.yml/badge.svg)
[![Docs](https://github.com/nu-isance/icecube_tools/actions/workflows/docs.yml/badge.svg)](https://nu-isance.github.io/icecube_tools/)
[![codecov](https://codecov.io/gh/nu-isance/icecube_tools/graph/badge.svg?token=6Z6DVBYHVD)](https://codecov.io/gh/nu-isance/icecube_tools)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

Python tools for working with the IceCube public data - check out the docs for examples.
61 changes: 61 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
[build-system]
requires = ["setuptools>=80"]
build-backend = "setuptools.build_meta"

[project]
name = "icecube_tools"
description = "A tool to perform frequentist analysis of public IceCube data"
dynamic = ["version"]
readme = "README.md"
requires-python = ">=3.10"
authors = [
{name = "Francesca Capel", email = "capel.francesca@gmail.com"},
{name = "Julian Kuhlmann", email = "julian.kuhlmann@mpp.mpg.de"},
]
maintainers = [
{name = "Julian Kuhlmann", email = "julian.kuhlmann@mpp.mpg.de"},
{name = "Francesca Capel", email = "capel.francesca@gmail.com"},
]
license = "GPL-3.0-only"
license-files = ["LICENSE"]

dependencies = [
"numpy",
"scipy",
"matplotlib",
"astropy",
"iminuit",
"jupytext",
"requests_cache",
"requests",
"bs4",
"tqdm",
"versioneer",
"vMF > 0.1",
"pandas",
"h5py",
"healpy",
"mpmath"
]

[project.optional-dependencies]
tests = [
"pytest",
"pytest-cov"
]
docs = [
"sphinx",
"nbsphinx",
]

[project.urls]
Repository = "https://github.com/nu-isance/icecube_tools"
Issues = "https://github.com/nu-isance/icecube_tools/issues"

[tools.versioneer]
VCS = "git"
style = "pep440"
versionfile_source = "icecube_tools/_version.py"
versionfile_build = "icecube_tools/_version.py"
tag_prefix = "v"
parentdir_prefix = "icecube_tools-"
45 changes: 0 additions & 45 deletions setup.cfg

This file was deleted.

9 changes: 0 additions & 9 deletions setup.py

This file was deleted.

Loading
Loading