Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: convert setup.py to pyproject.toml #33

Merged
merged 3 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
build: convert setup.py to pyproject.toml
  • Loading branch information
joanise committed Feb 4, 2025
commit 6310e6fe579f6ed65047e7f395ce6867fb1e7790
1 change: 1 addition & 0 deletions dfaligner/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION = "0.1.0"
56 changes: 56 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "dfaligner"
dynamic = ["version"]
description = "Text/Speech Alignment Speech Generation for Indigenous Language Education Small Teams Project"
readme = "README.md"
license = "MIT"
requires-python = ">=3.10"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
requires-python = ">=3.10"
requires-python = ">=3.10, <3.12"

authors = [
{ name = "Aidan Pine", email = "[email protected]" },
{ name = "Eric Joanis", email = "[email protected]" },
{ name = "Samuel Larkin", email = "[email protected]" },
{ name = "Mengzhe Geng", email = "[email protected]" },
{ name = "Christian Schäfer" },
{ name = "Francesco Cardinale" },
]
maintainers = [
{ name = "Aidan Pine", email = "[email protected]" },
{ name = "Eric Joanis", email = "[email protected]" },
{ name = "Samuel Larkin", email = "[email protected]" },
]
classifiers = [
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Development Status :: 3 - Alpha",
"Topic :: Multimedia :: Sound/Audio :: Speech",
]
dependencies = [
"everyvoice>=0.2.0a0",
]

[project.scripts]
dfaligner = "dfaligner.cli:app"

[project.urls]
Homepage = "https://github.com/EveryVoiceTTS/DeepForcedAligner"
joanise marked this conversation as resolved.
Show resolved Hide resolved

[tool.hatch.version]
path = "dfaligner/_version.py"

[tool.hatch.build.targets.sdist]
include = [
"/dfaligner",
]

[project.optional-dependencies]
dev = [
"everyvoice[dev]",
]
11 changes: 0 additions & 11 deletions requirements.dev.txt

This file was deleted.

1 change: 0 additions & 1 deletion requirements.txt

This file was deleted.

45 changes: 0 additions & 45 deletions setup.py

This file was deleted.