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 #108

Merged
merged 3 commits into from
Feb 11, 2025
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
1 change: 1 addition & 0 deletions fs2/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION = "0.3.0"

Check warning on line 1 in fs2/_version.py

View check run for this annotation

Codecov / codecov/patch

fs2/_version.py#L1

Added line #L1 was not covered by tests
53 changes: 53 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[project]
name = "fs2l"
dynamic = ["version"]
description = "Text-to-Speech Synthesis for the Speech Generation for Indigenous Language Education Small Teams Project"
license = "MIT"
readme = "readme.md"
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 = "Samuel Larkin", email = "[email protected]" },
{ name = "Eric Joanis", email = "[email protected]" },
{ name = "Mengzhe Geng", email = "[email protected]" },
]
maintainers = [
{ name = "Aidan Pine", email = "[email protected]" },
{ name = "Samuel Larkin", email = "[email protected]" },
{ name = "Eric Joanis", 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.3.*"]

[project.scripts]
fs2l = "fs2.cli:app"

[project.urls]
Homepage = "https://github.com/EveryVoiceTTS/FastSpeech2_lightning"
Repository = "https://github.com/EveryVoiceTTS/FastSpeech2_lightning"
Issues = "https://github.com/EveryVoiceTTS/FastSpeech2_lightning/issues"

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

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

[tool.hatch.build.targets.wheel]
include = ["/fs2"]

[project.optional-dependencies]
dev = ["everyvoice[dev]"]
13 changes: 0 additions & 13 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.

Loading