From 6638dd2b5a7c7d2c52da72ef0a9cf940ee786563 Mon Sep 17 00:00:00 2001 From: igor-shavrin <63294085+igor-shavrin@users.noreply.github.com> Date: Thu, 4 Jan 2024 18:30:52 +0100 Subject: [PATCH] Add readthedocs config, update python versions (#10) * Added default readthedocs.yaml * Added Python 3.11 * Add Python 3.12 --- .github/workflows/python-package.yml | 4 ++-- .readthedocs.yaml | 22 ++++++++++++++++++++++ LICENSE.txt | 3 ++- pyproject.toml | 2 ++ 4 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 .readthedocs.yaml diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index b743bcb..1dc9719 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -12,10 +12,10 @@ on: jobs: build: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12'] steps: - uses: actions/checkout@v2 diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..8c03f47 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +# .readthedocs.yaml +# Read the Docs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +# Required +version: 2 + +# Set the version of Python and other tools you might need +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: doc/conf.py + +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +# python: +# install: +# - requirements: docs/requirements.txt \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt index 4448fef..0040b1e 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,4 +1,5 @@ -Copyright 2021 Swabian Instruments GmbH +Copyright 2024 Swabian Instruments GmbH +Author: Dr. Igor Shavrin Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/pyproject.toml b/pyproject.toml index 9b5a12a..314cd9f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -23,6 +23,8 @@ classifiers=[ "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering", "Intended Audience :: Developers",