Skip to content

Commit

Permalink
build: convert setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
joanise committed Feb 4, 2025
1 parent 8d2ebc3 commit fe5f6ef
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 59 deletions.
1 change: 1 addition & 0 deletions fs2/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION = "0.1.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
52 changes: 52 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[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"
requires-python = ">=3.10"
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 :: MacOS :: MacOS X",
"Operating System :: MacOS",
"Operating System :: POSIX :: Linux",
"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"

[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.

0 comments on commit fe5f6ef

Please sign in to comment.