diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml index 5569682..61cb2d7 100644 --- a/.github/workflows/python-publish.yml +++ b/.github/workflows/python-publish.yml @@ -21,11 +21,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + pip install setuptools wheel twine build - name: Build and publish env: TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }} TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }} run: | - python setup.py sdist bdist_wheel + python -m build . twine upload dist/* diff --git a/.gitignore b/.gitignore index 7dd097f..7f9a5ec 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ dist/* build/* *__pycache__* *.egg-info/* +.tox/* diff --git a/.readthedocs.yml b/.readthedocs.yml index eec711e..7194400 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -1,12 +1,17 @@ version: 2 + +build: + os: ubuntu-lts-latest + tools: + python: mambaforge-22.9 + sphinx: configuration: docs/conf.py formats: all python: - version: 3.7 install: - method: pip path: . @@ -14,4 +19,4 @@ python: path: . conda: - environment: environment.yml \ No newline at end of file + environment: environment.yml diff --git a/CHANGES.rst b/CHANGES.rst index a6d30ed..3ede897 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,6 +1,6 @@ .. _v2.0.3 -2.0.3 10-04-2022 +2.0.3 11-04-2022 ================ - Improved background fitting for low signal-to-noise ratio data.