Skip to content

Commit 36b736f

Browse files
authored
Merge pull request #26 from astro-informatics/features/conan-Center
Conan remote is conancenter and sundries
2 parents 484f8ad + 153187f commit 36b736f

File tree

9 files changed

+18
-20
lines changed

9 files changed

+18
-20
lines changed

.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/v1.3.4' }}
122+
if: ${{ github.ref != 'refs/tags/v1.3.5' }}
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/v1.3.4' }}
129+
if: ${{ github.ref == 'refs/tags/v1.3.5' }}
130130
uses: pypa/gh-action-pypi-publish@master
131131
with:
132132
password: ${{ secrets.PYPI_TOKEN }}

CMakeLists.txt

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
cmake_minimum_required(VERSION 3.12)
22
project(
33
so3
4-
VERSION "1.3.4"
4+
VERSION "1.3.5"
55
DESCRIPTION "Fast and exact Wigner transforms"
66
HOMEPAGE_URL "http://astro-informatics.github.io/so3/"
77
LANGUAGES C)
88

99
option(conan_deps "Download ssht using conan" ON)
10-
if(conan_deps AND download_ssht)
11-
message(
12-
FATAL_ERROR "conan_deps and download_ssht options are mutually exclusive.")
13-
endif()
1410

1511
if(NOT CMAKE_BUILD_TYPE)
1612
set(CMAKE_BUILD_TYPE "Debug")
@@ -40,13 +36,13 @@ if(BUILD_TESTING)
4036
add_subdirectory(tests)
4137
endif()
4238

43-
if(NOT SKBUILD AND NOT CONAN_EXPORTED)
44-
include("${PROJECT_SOURCE_DIR}/cmake/exporting.cmake")
45-
elseif(NOT CONAN_EXPORTED)
39+
if(SKBUILD)
4640
find_package(PythonExtensions REQUIRED)
4741
find_package(Cython REQUIRED)
4842
find_package(NumPy REQUIRED)
4943
add_subdirectory(src/so3)
44+
elseif(NOT CONAN_EXPORTED)
45+
include("${PROJECT_SOURCE_DIR}/cmake/exporting.cmake")
5046
endif()
5147

5248
# only run documentation if this is not a sub-project

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[docs-img]: https://img.shields.io/badge/docs-stable-blue.svg
33
[docs-url]: http://astro-informatics.github.io/so3/
44
[conan-img]: https://img.shields.io/badge/ConanCenter-C%20Package-red.svg
5-
[conan-url]: https://conan.io/center/so3
5+
[conan-url]: https://conan.io/center/astro-informatics-so3
66
[pypi-img]: https://badge.fury.io/py/so3.svg
77
[pypi-url]: https://badge.fury.io/py/so3
88
[codefactor-img]: https://www.codefactor.io/repository/github/astro-informatics/so3/badge/main

cmake/conan_dependencies.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ conan_cmake_install(
2020
BUILD
2121
missing
2222
REMOTE
23-
conan-center
23+
conancenter
2424
SETTINGS
2525
${settings})

cmake/so3Config.in.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include(CMakeFindDependencyMacro)
66
find_dependency(FFTW3 REQUIRED)
77
find_dependency(Ssht REQUIRED)
88

9-
include("${CMAKE_CURRENT_LIST_DIR}/sshtTargets.cmake")
10-
set(SO3_LIBRARIES so3::so3)
9+
include("${CMAKE_CURRENT_LIST_DIR}/astro-informatics-so3Targets.cmake")
10+
set(SO3_LIBRARIES astro-informatics-so3::astro-informatics-so3)
1111

1212
check_required_components(SO3)

docs/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,10 @@ <h1 class="title">so3</h1>
4747
<h2>News</h2>
4848

4949
<ul>
50-
<li><strong>April 2021</strong><br />
51-
Release of SO3 v1.3.3 (<a href="https://conan.io/center/so3">conan-center</a>release)
50+
<li><strong>Oct 2021</strong><br />
51+
Release of SO3 v1.3.5
52+
<li><strong>May 2021</strong><br />
53+
Release of SO3 v1.3.4 (<a href="https://conan.io/center/astro-informatics-so3">conan-center</a>release)
5254
<li><strong>October 2020</strong><br />
5355
Release of SO3 v1.3.0
5456
<li><strong>September 2020</strong><br />
@@ -78,7 +80,7 @@ <h2>News</h2>
7880
<img src="https://img.shields.io/badge/docs-stable-blue.svg">
7981
</a>
8082

81-
<a href="https://conan.io/center/so3">
83+
<a href="https://conan.io/center/astro-informatics-so3">
8284
<img src="https://img.shields.io/badge/ConanCenter-C%20Package-red.svg">
8385
</a>
8486

makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
CC = gcc
55

66
#OPT = -Wall -O3 -fopenmp -DSO3_VERSION=\"0.1\" -DSO3_BUILD=\"`git rev-parse HEAD`\"
7-
OPT = -Wall -g -fopenmp -DSO3_VERSION=\"1.3.4\" -DSO3_BUILD=\"`git rev-parse HEAD`\"
7+
OPT = -Wall -g -fopenmp -DSO3_VERSION=\"1.3.5\" -DSO3_BUILD=\"`git rev-parse HEAD`\"
88

99

1010
# ======== LINKS ========

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 1.3.4
2+
current_version = 1.3.5
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<rc>\d+))?

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name="so3",
11-
version="1.3.4",
11+
version="1.3.5",
1212
author="Jason McEwen",
1313
install_requires=["numpy", "scipy"],
1414
extras_require={

0 commit comments

Comments
 (0)