Skip to content
Mayeul d'Avezac edited this page Oct 17, 2020 · 1 revision

Create a release

  • run one of:

    • bump2version patch for small changes and bug fixes
    • bump2version minor for new backward compatible features
    • bump2version major for new API
  • commit to a new branch

  • create a pull-request

  • merge to main

  • create a tag with the same version number as setup.cfg:

    git tag v0.0.0
    git push --tags
  • check the actions run and deploy to bintray and pypi

Compile ssht, so3, and s2let locally:

Conan can be used to create a workspace with all of ssht, so3 and s2let compiled from within a local directory. This is handy when tracking a bug across the three projects.

To create such a workspace, create a directory workspace and clone ssht, so3 and s2let therein. Then drop the following three files in it and follow the instructions in the conan documentation

  • CMakeLists.txt:
cmake_minimum_required(VERSION 3.12)

project(WorkspaceProject)

enable_testing()
include(${CMAKE_BINARY_DIR}/conanworkspace.cmake)
set(CONAN_EDITABLE_MODE ON)
conan_workspace_subdirectories()
  • layout.ini:
[build_folder]
build/

[source_folder]
.

[includedirs]
include

[libdirs]
build/lib

[bindirs]
build/bin
  • workspace.yml
editables:
    ssht/1.3.3@user/testing:
        path: ssht
    so3/1.3.0@user/testing:
        path: so3
    s2let/2.1.0@user/testing:
        path: s2let
layout: layout.ini
workspace_generator: cmake
root: s2let/2.1.0@user/testing