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
5 changes: 3 additions & 2 deletions .github/workflows/pypi_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
Expand Down Expand Up @@ -47,11 +47,12 @@ jobs:
os: [ubuntu-latest, macOS-latest, windows-latest]
steps:
- uses: actions/checkout@v2
- uses: conda-incubator/setup-miniconda@v2
- uses: conda-incubator/setup-miniconda@v3
with:
auto-update-conda: true
miniconda-version: "latest"
python-version: ${{ matrix.python-version }}
architecture: ${{ runner.arch == 'ARM64' && 'arm64' || 'x64' }}
- name: Conda info
shell: bash -l {0}
run: conda info
Expand Down
12 changes: 9 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,24 @@

import os
import sys
from picasso import __version__ as picasso_version

project = "Picasso"
copyright = "2019, Maximilian Thomas Strauss"
copyright = "2019-2026, Jungmann Lab"
author = "Maximilian T. Strauss"

# The short X.Y version
version = ""
# The full version, including alpha/beta/rc tags
sys.path.insert(0, os.path.abspath("../.."))

release = picasso_version
# Read version directly from picasso/version.py to avoid importing the
# full package (which would require all runtime dependencies on RTD).
_version_globals = {}
with open(
os.path.join(os.path.dirname(__file__), "..", "picasso", "version.py")
) as _vf:
exec(_vf.read(), _version_globals)
release = _version_globals["__version__"]

# -- General configuration ---------------------------------------------------

Expand Down
Loading