Skip to content

Commit 0ebe933

Browse files
authored
Shield url and images (#34)
* Shield url and images * Using skbuild setup because CMake no work on macos * Update conan dependencies * Bump to 2.2.1
1 parent e24068b commit 0ebe933

File tree

14 files changed

+27
-57
lines changed

14 files changed

+27
-57
lines changed

.github/workflows/conan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: create package with fpic=${{matrix.fpic}} cfitsio=${{matrix.cfitsio}}
3838
shell: bash
3939
run: |
40-
if [ "${{ github.ref }}" = "refs/tags/v2.2.0" ]; then
40+
if [ "${{ github.ref }}" = "refs/tags/v2.2.1" ]; then
4141
channel="stable"
4242
else
4343
channel="testing"
@@ -55,4 +55,4 @@ jobs:
5555
CONAN_PASSWORD: ${{secrets.BINTRAY_TOKEN}}
5656
CONAN_LOGIN_USERNAME: astroinformaticsci
5757
CONAN_REMOTE_URL: https://api.bintray.com/conan/astro-informatics/astro-informatics
58-
run: conan upload s2let/2.2.0 -c --all -r=astro-informatics
58+
run: conan upload s2let/2.2.1 -c --all -r=astro-informatics

.github/workflows/python.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ jobs:
119119
mv source-distribution/*.tar.gz wheel-*/*.whl dist
120120
121121
- name: Publish distribution 📦 to Test PyPI
122-
if: ${{ github.ref != 'refs/tags/v2.2.0' }}
122+
if: ${{ github.ref != 'refs/tags/v2.2.1' }}
123123
uses: pypa/gh-action-pypi-publish@master
124124
with:
125125
password: ${{ secrets.TEST_PYPI_TOKEN }}
126126
repository_url: https://test.pypi.org/legacy/
127127

128128
- name: Publish distribution 📦 to PyPI
129-
if: ${{ github.ref == 'refs/tags/v2.2.0' }}
129+
if: ${{ github.ref == 'refs/tags/v2.2.1' }}
130130
uses: pypa/gh-action-pypi-publish@master
131131
with:
132132
password: ${{ secrets.PYPI_TOKEN }}

CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@ cmake_minimum_required(VERSION 3.12)
22

33
project(
44
s2let
5-
VERSION "2.2.0"
5+
VERSION "2.2.1"
66
DESCRIPTION "Fast wavelets on the sphere"
77
HOMEPAGE_URL "http://astro-informatics.github.io/s2let/"
88
LANGUAGES C)
99

1010
option(tests "Enable testing" ON)
11-
option(python "Creates python package only" OFF)
1211
option(cfitsio "Links to cfitsio" OFF)
1312
option(fPIC "Compile with fPIC" ON)
1413
option(conan_deps "Download dependencies using conan" OFF)
@@ -48,12 +47,9 @@ if(tests)
4847
add_subdirectory(src/test/c)
4948
endif()
5049

51-
if(NOT python)
50+
if(NOT SKBUILD)
5251
include("exporting")
5352
else()
54-
include("python-setup")
55-
find_python()
56-
setup_skbuild()
5753
find_package(PythonExtensions REQUIRED)
5854
find_package(Cython REQUIRED)
5955
find_package(NumPy REQUIRED)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
[docs-img]: https://img.shields.io/badge/docs-stable-blue.svg
44
[docs-url]: https://astro-informatics.github.io/s2let/
5-
[bintray-img]: https://img.shields.io/bintray/v/astro-informatics/astro-informatics/s2let:astro-informactics?label=C%20package
6-
[bintray-url]: https://bintray.com/astro-informatics/astro-informatics/s2let:astro-informatics/2.2.0:stable/link
5+
[bintray-img]: https://img.shields.io/bintray/v/astro-informatics/astro-informatics/s2let:astro-informatics?label=C%20package
6+
[bintray-url]: https://bintray.com/astro-informatics/astro-informatics/s2let:astro-informatics/2.2.1:stable/link
77
[pypi-img]: https://badge.fury.io/py/pys2let.svg
88
[pypi-url]: https://badge.fury.io/py/pys2let
99
[codefactor-img]: https://www.codefactor.io/repository/github/astro-informatics/s2let/badge/main

cmake/conan_dependencies.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ elseif(NOT CONAN_OPTIONS)
1414
endif()
1515
if(NOT CONAN_EDITABLE_MODE)
1616
if(NOT CONAN_DEPS)
17-
set(CONAN_DEPS "so3/1.3.0@astro-informatics/stable")
17+
set(CONAN_DEPS "so3/1.3.1@astro-informatics/stable")
1818
endif()
1919
list(APPEND CONAN_OPTIONS "so3:fPIC=${fpic_value}")
2020
endif()
2121
if(cfitsio)
22-
list(APPEND CONAN_DEPS "cfitsio/3.480")
22+
list(APPEND CONAN_DEPS "cfitsio/3.490")
2323
list(APPEND CONAN_OPTIONS "cfitsio:shared=False" "cfitsio:fPIC=${fpic_value}")
2424
endif()
2525
if(NOT CONAN_BUILD)

cmake/python-setup.cmake

Lines changed: 0 additions & 30 deletions
This file was deleted.

conanfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
class S2letConan(ConanFile):
55
name = "s2let"
6-
version = "2.2.0"
6+
version = "2.2.1"
77
license = "GPL-2.0"
88
url = "https://github.com/astro-informatics/s2let"
99
homepage = "https://github.com/astro-informatics/s2let"
@@ -32,9 +32,9 @@ def configure(self):
3232

3333
def requirements(self):
3434
location = "astro-informatics/stable" if self.in_local_cache else "user/testing"
35-
self.requires(f"so3/1.3.0@{location}")
35+
self.requires(f"so3/1.3.1@{location}")
3636
if self.options.with_cfitsio:
37-
self.requires("cfitsio/3.480")
37+
self.requires("cfitsio/3.490")
3838

3939
@property
4040
def cmake(self):

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ <h2>News</h2>
8888
<img src="https://img.shields.io/badge/docs-stable-blue.svg">
8989
</a>
9090

91-
<a href="https://bintray.com/astro-informatics/astro-informatics/so3:astro-informatics/">
92-
<img src="https://img.shields.io/bintray/v/astro-informatics/astro-informatics/so3:astro-informatics?label=C%20package">
91+
<a href="https://bintray.com/astro-informatics/astro-informatics/s2let:astro-informatics/2.2.1:stable/link">
92+
<img src="https://img.shields.io/bintray/v/astro-informatics/astro-informatics/s2let:astro-informatics?label=C%20package"/>
9393
</a>
9494

9595
<a href="https://badge.fury.io/py/pys2let">

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ UNAME := $(shell uname)
2727

2828
# Compilers and options for C
2929
CC = gcc
30-
OPT = -Wall -g -fPIC -fopenmp -DS2LET_VERSION=\"2.2.0\" -DS2LET_BUILD=\"`git rev-parse HEAD`\"
30+
OPT = -Wall -g -fPIC -fopenmp -DS2LET_VERSION=\"2.2.1\" -DS2LET_BUILD=\"`git rev-parse HEAD`\"
3131

3232
# Compilers and options for Fortran
3333
FCC = gfortran

setup.cfg

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
[bumpversion]
2-
current_version = 2.2.0
2+
current_version = 2.2.1
33
commit = False
44
tag = False
55

66
[bumpversion:file:src/doxygen.config]
77

8+
[bumpversion:file:docs/index.html]
9+
search = {current_version}:stable
10+
replace = {new_version}:stable
11+
812
[bumpversion:file:README.md]
913

1014
[bumpversion:file:setup.py]

0 commit comments

Comments
 (0)