Skip to content

Commit

Permalink
update py versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vahtras committed Mar 21, 2024
1 parent f3013c6 commit 18acd83
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 5 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pypi-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish Python 🐍 distributions 📦 to PyPI

on:
push:
tags:
- '*'

jobs:
build-n-publish:
name: Build and publish Python 🐍 distributions 📦 to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: '3.10'
- name: Install pypa/setuptools
run: |
python -m pip install pip --upgrade
python -m pip install build
- name: Install project
run: |
python -m pip install .
- name: Test
run: |
pip install pytest
python -m pytest
- name: Build package
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ classifiers =
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
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 :: Scientific/Engineering :: Chemistry

[options]
packages = loprop
python_requires >= 3.6
python_requires >= 3.9
install_requires =
blocked-matrix-utils >= 1.0.8

Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py36,py37,py38,py39
envlist = py312,py311,py310,py39

[testenv]
deps = pytest
Expand Down

0 comments on commit 18acd83

Please sign in to comment.