Skip to content

Commit e4f5115

Browse files
committed
First packaged version
1 parent b0630db commit e4f5115

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

.github/workflows/publish.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Create GitHub Release
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build-and-release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Check out repository
13+
uses: actions/checkout@v3
14+
15+
- name: Set up Python
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: '3.10.11'
19+
20+
- name: Install build dependencies
21+
run: python -m pip install --upgrade poetry
22+
23+
- name: Build package
24+
run: python -m poetry build
25+
26+
- name: Create GitHub Release
27+
id: create_release
28+
uses: actions/create-release@v1
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
with:
32+
tag_name: ${{ github.ref }}
33+
release_name: Release ${{ github.ref }}
34+
draft: false
35+
prerelease: false
36+
37+
- name: Upload release assets
38+
uses: actions/upload-release-asset@v1
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
with:
42+
upload_url: ${{ steps.create_release.outputs.upload_url }}
43+
asset_path: ./dist/pyrecest-0.1.0.tar.gz
44+
asset_name: pyrecest-0.1.0.tar.gz
45+
asset_content_type: application/gzip

pyproject.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[build-system]
2+
requires = [
3+
"setuptools >= 40.9.0",
4+
"wheel"
5+
]
6+
build-backend = "setuptools.build_meta"
7+
8+
[tool.poetry]
9+
name = "pyrecest"
10+
version = "0.1.0"
11+
description = "Framework for recursive Bayesian estimation in Python."
12+
readme = "README.md"
13+
authors = ["Florian Pfaff <[email protected]>"]
14+
15+
[tool.poetry.dependencies]
16+
python = "^3.10"
17+
numpy = "*"
18+
scipy = "*"
19+
matplotlib = "*"
20+
mpmath = "*"
21+
pytest = "*"
22+
filterpy = "*"
23+
24+
[tool.poetry.extras]
25+
healpy_support = ["healpy"]

0 commit comments

Comments
 (0)