Skip to content

Commit

Permalink
Refactor packaging to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
markcampanelli committed Jan 9, 2024
1 parent 7f12df3 commit eb407e6
Show file tree
Hide file tree
Showing 12 changed files with 107 additions and 2,612 deletions.
2 changes: 0 additions & 2 deletions .coveragerc

This file was deleted.

9 changes: 4 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
env: [
'-r requirements.txt .[test]',
'--upgrade --upgrade-strategy=eager .[test]'
]

Expand All @@ -28,8 +27,8 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install ${{ matrix.env }}
run: |
python -m pip install --upgrade pip wheel
pip install ${{ matrix.env }}
python -m pip install --progress-bar off --upgrade pip
python -m pip install --progress-bar off ${{ matrix.env }}
- name: Test with pytest ${{ matrix.env }}
run: |
pytest
python -m pytest
2 changes: 0 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include versioneer.py
include pvdeg/_version.py
include pvdeg/data/*
include LICENSE
graft DataLibrary
11 changes: 11 additions & 0 deletions contributors/markcampanelli.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
2024-01-09

I hereby agree to the terms of the Contributors License Agreement,
version 1.0, with MD5 checksum 46ea45f996295bdb0652333d516a6d0a.

I furthermore declare that I am authorized and able to make this
agreement and sign this declaration.

Signed,

Mark Campanelli https://github.com/markcampanelli
4 changes: 2 additions & 2 deletions pvdeg/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
from importlib.metadata import version
import logging

from .config import *
Expand All @@ -16,9 +17,8 @@
from . import temperature
from . import utilities
from . import weather
from . import _version

__version__ = _version.get_versions()["version"]
__version__ = version('pvdeg')

logger = logging.getLogger(__name__)
logger.addHandler(logging.NullHandler())
Expand Down
Loading

0 comments on commit eb407e6

Please sign in to comment.