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
4 changes: 2 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.10", "3.11"]
python-version: ["3.8", "3.10", "3.11", "3.12"]
pymc-version: ["without", "'pymc>=5.0.0'"]
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
file: ./coverage.xml
- name: Test Wheel build, install and import
run: |
python setup.py bdist_wheel
python -m build
twine check dist/*
cd dist
pip install bletl*.whl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
pytest --cov=./bletl --cov-report xml --cov-report term-missing tests/
- name: Build package
run: |
python setup.py sdist bdist_wheel
python -m build
- name: Check version number match
run: |
echo "GITHUB_REF: ${GITHUB_REF}"
Expand Down
4 changes: 3 additions & 1 deletion bletl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
BioLector files, applying calibration transformations and representing them in a standardized
format.
"""
import importlib.metadata

from . import utils
from .core import get_parser, parse, parsers
from .heuristics import find_do_peak
Expand All @@ -36,4 +38,4 @@
NoMeasurementData,
)

__version__ = "1.5.1"
__version__ = importlib.metadata.version(__package__ or __name__)
41 changes: 40 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,48 @@
# inspired by https://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/

[build-system]
requires = ["setuptools", "wheel"]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "bletl"
version = "1.5.2"
description = "Package for parsing and transforming BioLector raw data."
readme = "README.md"
requires-python = ">=3.8"
license = {text = "GNU Affero General Public License v3"}
authors = [
{name = "Michael Osthege", email = "[email protected]"},
]
classifiers = [
"Programming Language :: Python",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: GNU Affero General Public License v3",
]
dependencies = [
"csaps>=0.11",
"fastprogress",
"joblib",
"numpy",
"pandas",
"scipy",
"tsfresh",
"setuptools",
]

[project.urls]
Homepage = "https://github.com/jubiotech/bletl"
Documentation = "https://bletl.readthedocs.io/en/latest/"
Download = "https://pypi.org/project/bletl/"

[tool.setuptools]
package-dir = {"bletl" = "bletl"}

[tool.black]
line-length = 110

Expand Down
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ pandas>=2.0.0
pytest
pytest-cov
twine
wheel
build
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ numpy
pandas
scipy
tsfresh
setuptools
50 changes: 0 additions & 50 deletions setup.py

This file was deleted.

Loading