Skip to content

Commit

Permalink
Merge pull request #71 from sp-nitech/maintenance
Browse files Browse the repository at this point in the history
Maintenance
  • Loading branch information
takenori-y committed Apr 4, 2024
2 parents a554d3e + 353d9d2 commit c899cf5
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
torch: 1.11.0
torchaudio: 0.11.0
- python: 3.11
torch: 2.2.1
torchaudio: 2.2.1
torch: 2.2.2
torchaudio: 2.2.2

steps:
- name: Clone
Expand Down
26 changes: 26 additions & 0 deletions CITATION.cff
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "SPTK Working Group"
title: "diffsptk"
url: "https://github.com/sp-nitech/diffsptk"
preferred-citation:
type: conference-paper
title: "SPTK4: An open-source software toolkit for speech signal processing"
authors:
- family-names: "Yoshimura"
given-names: "Takenori"
- family-names: "Fujimoto"
given-names: "Takato"
- family-names: "Oura"
given-names: "Keiichiro"
- family-names: "Tokuda"
given-names: "Keiichi"
collection-title: "12th ISCA Speech Synthesis Workshop"
collection-type: proceedings
doi: 10.21437/SSW.2023-33
month: 8
start: 211
end: 217
year: 2023
url: "https://www.isca-archive.org/ssw_2023/yoshimura23_ssw.pdf"
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ venv:
. ./venv/bin/activate; python -m pip install icc-rt

dist:
. ./venv/bin/activate; python -m build --wheel
. ./venv/bin/activate; python -m twine check dist/*.whl
. ./venv/bin/activate; python -m build
. ./venv/bin/activate; python -m twine check dist/*

dist-clean:
rm -rf dist
Expand All @@ -47,11 +47,13 @@ doc-clean:

check: tool
. ./venv/bin/activate; python -m ruff check $(PROJECT) tests
. ./venv/bin/activate; python -m ruff format --check $(PROJECT) tests
. ./venv/bin/activate; python -m isort --check $(PROJECT) tests
./tools/taplo/taplo fmt --check pyproject.toml
./tools/yamlfmt/yamlfmt --lint *.yml .github/workflows/*.yml

format: tool
. ./venv/bin/activate; python -m ruff check --fix $(PROJECT) tests
. ./venv/bin/activate; python -m ruff format $(PROJECT) tests
. ./venv/bin/activate; python -m isort $(PROJECT) tests
./tools/taplo/taplo fmt pyproject.toml
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ diffsptk
[![Stable Manual](https://img.shields.io/badge/docs-stable-blue.svg)](https://sp-nitech.github.io/diffsptk/2.0.0/)
[![Downloads](https://static.pepy.tech/badge/diffsptk)](https://pepy.tech/project/diffsptk)
[![Python Version](https://img.shields.io/pypi/pyversions/diffsptk.svg)](https://pypi.python.org/pypi/diffsptk)
[![PyTorch Version](https://img.shields.io/badge/pytorch-1.11.0%20%7C%202.2.1-orange.svg)](https://pypi.python.org/pypi/diffsptk)
[![PyTorch Version](https://img.shields.io/badge/pytorch-1.11.0%20%7C%202.2.2-orange.svg)](https://pypi.python.org/pypi/diffsptk)
[![PyPI Version](https://img.shields.io/pypi/v/diffsptk.svg)](https://pypi.python.org/pypi/diffsptk)
[![Codecov](https://codecov.io/gh/sp-nitech/diffsptk/branch/master/graph/badge.svg)](https://app.codecov.io/gh/sp-nitech/diffsptk)
[![License](https://img.shields.io/github/license/sp-nitech/diffsptk.svg)](https://github.com/sp-nitech/diffsptk/blob/master/LICENSE)
Expand Down
12 changes: 10 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,16 @@ Homepage = "https://sp-tk.sourceforge.net/"
Documentation = "https://sp-nitech.github.io/diffsptk/latest/"
Source = "https://github.com/sp-nitech/diffsptk"

[tool.hatch.build]
exclude = ["assets", "docs", "tests", "tools"]
[tool.hatch.build.targets.sdist]
exclude = [
"/.github",
"/assets",
"/docs",
"/tests",
"/tools",
"Makefile",
"*.yml",
]

[tool.hatch.metadata]
allow-direct-references = true
Expand Down

0 comments on commit c899cf5

Please sign in to comment.