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
6 changes: 4 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
py: ["3.10", 3.9, 3.8]
py: ["3.11", "3.12", "3.13", "3.14"]
fail-fast: false

steps:
Expand Down Expand Up @@ -59,8 +59,10 @@ jobs:
PYTHONDEVMODE: 1

- name: Upload Python coverage to codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v5
with:
flags: python
fail_ci_if_error: true
files: coverage.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
os: ubuntu-24.04
tools:
python: "3.10"
python: "3.14"

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand Down
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,39 +5,39 @@

PYSOURCES=$(wildcard screed/*.py)
TESTSOURCES=$(wildcard screed/tests/*.py)
SOURCES=$(PYSOURCES) setup.py
SOURCES=$(PYSOURCES)

VERSION=$(shell git describe --tags --dirty | sed s/v//)
all:
./setup.py build
python -m build .

install: FORCE
./setup.py build install
pip install -e .

install-dependencies: FORCE
pip install -e .[all]

develop: FORCE
./setup.py develop
pip install -e .

dist: dist/screed-$(VERSION).tar.gz

dist/screed-$(VERSION).tar.gz: $(SOURCES)
./setup.py sdist
python -m build --sdist .

clean: FORCE
./setup.py clean --all || true
pip uninstall screed || true
rm -rf build/
rm -rf coverage-debug .coverage coverage.xml
rm -rf doc/_build
rm -rf .eggs/ *.egg-info/ .cache/ __pycache__/ *.pyc */*.pyc */*/*.pyc

pep8: $(PYSOURCES) $(TESTSOURCES)
pycodestyle --exclude=_version.py setup.py screed/
pycodestyle --exclude=_version.py screed/

pylint: FORCE
pylint --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \
setup.py screed || true
screed || true

doc: FORCE
cd doc && make html
Expand Down
57 changes: 56 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build-system]
requires = [
"setuptools >= 48",
"setuptools_scm[toml] >= 4, <6",
"setuptools_scm[toml] >= 9, <10",
"setuptools_scm_git_archive",
"wheel >= 0.29.0",
]
Expand All @@ -10,3 +10,58 @@ build-backend = 'setuptools.build_meta'
[tool.setuptools_scm]
write_to = "screed/version.py"
git_describe_command = "git describe --dirty --tags --long --match v* --first-parent"

[project]
name = "screed"
description = "a Python library for loading FASTA and FASTQ sequences"
readme = "README.md"
license = "BSD-3-Clause"
license-files = [ "doc/LICENSE.rst" ]
requires-python = ">=3.11"
dynamic = [ "version" ]

authors = [
{ name = "Alex Nolley" },
{ name = "C. Titus Brown" },
Comment on lines +24 to +25

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ctb this is extremely outdated 😂

]

maintainers = [
{ name = "C. Titus Brown", email = "titus@idyll.org" },
{ name = "Luiz Irber", email="luiz@sourmash.bio" },
]

classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Environment :: MacOS X",
"Intended Audience :: Science/Research",
"Natural Language :: English",
"Operating System :: POSIX :: Linux",
"Operating System :: MacOS :: MacOS X",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Bio-Informatics",
]

[project.urls]
"Homepage" = "https://github.com/dib-lab/screed"
"Documentation" = "https://screed.readthedocs.io/"
"Source" = "https://github.com/dib-lab/screed"
"Tracker" = "https://github.com/dib-lab/screed/issues"
"CI" = "https://github.com/dib-lab/screed/actions"

[project.scripts]
"screed" = "screed.__main__:main"

[project.optional-dependencies]
test = [
"pytest >= 6.2.2",
"pycodestyle",
"pytest-cov",
]
all = ["screed[test]"]

[tool.setuptools]
packages = ["screed"]
55 changes: 0 additions & 55 deletions setup.cfg

This file was deleted.

5 changes: 0 additions & 5 deletions setup.py

This file was deleted.

9 changes: 5 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38, py39, py310
envlist = py311, py312, py313, py314
minversion = 3.12
isolated_build = true
skip_missing_interpreters = true
Expand All @@ -26,6 +26,7 @@ deps =

[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312
3.13: py313
3.14: py314
Loading