Skip to content

Commit

Permalink
Prepare for release 0.3.0
Browse files Browse the repository at this point in the history
- Change build backend to hatchling
- Remove some optional dependencies
- Remove requirements folder
- Bump minor version
  • Loading branch information
richardkoehler committed Feb 14, 2024
1 parent aed6c69 commit 0c196bc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Tests
on:
push:
branches:
- '*'
- "*"
pull_request:
branches:
- '*'
- "*"
jobs:
tests:
name: ${{ matrix.name }}
Expand Down
11 changes: 6 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[build-system]
build-backend = "flit_core.buildapi"
requires = ["flit_core >=3.5,<4"]
build-backend = "hatchling.build"
requires = ["hatchling"]


[project]
authors = [
Expand Down Expand Up @@ -34,12 +35,9 @@ dependencies = [
[project.optional-dependencies]
dev = [
"black",
"isort",
"mypy",
"pandas-stubs",
"pip-tools",
"pre-commit",
"pylint",
"pytest",
"pytest-cov",
"ruff",
Expand All @@ -49,6 +47,9 @@ dev = [
[tool.flit.module]
name = "pte_stats"

[tool.hatch.version]
path = "src/pte_stats/__init__.py"

[project.urls]
bugtracker = "https://github.com/richardkoehler/pte-stats/issues"
changelog = "https://github.com/richardkoehler/pte-stats/blob/main/doc/CHANGELOG.md"
Expand Down
4 changes: 0 additions & 4 deletions requirements/requirements.in

This file was deleted.

3 changes: 0 additions & 3 deletions requirements/requirements_deploy.in

This file was deleted.

9 changes: 0 additions & 9 deletions requirements/requirements_dev.in

This file was deleted.

2 changes: 1 addition & 1 deletion src/pte_stats/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""An open-source software package for statistics with time series. """

__version__ = "0.3.0.dev1"
__version__ = "0.3.0"

from .cluster import (
cluster_analysis_1d,
Expand Down

0 comments on commit 0c196bc

Please sign in to comment.