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

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

merged 3 commits into from
Feb 11, 2025

Conversation

joanise
Copy link
Member

@joanise joanise commented Feb 4, 2025

PR Goal?

Modernize the installation procedure for this module too.

Fixes?

The fact that pip 25 won't support setup.py anymore.

Feedback sought?

Make sure it's all OK and all the values I declared in each field are accurate.

Priority?

low

Tests added?

n/a

How to test?

pip install -e . and pip install -e .[dev] in DeepForcedAligner.

python -m build --sdist --wheel before and after produce the correct wheel and tar ball.

Confidence?

medium-high

Version change?

Yes, because if you're installed before, you will have gotten version 0.0.<date>, so now I'm making it 0.1.0 so the newer install has a higher version number.

Related PRs?

EveryVoiceTTS/wav2vec2aligner#18
EveryVoiceTTS/FastSpeech2_lightning#108
EveryVoiceTTS/HiFiGAN_iSTFT_lightning#48

EveryVoiceTTS/EveryVoice#632

Copy link
Collaborator

@SamuelLarkin SamuelLarkin left a comment

Choose a reason for hiding this comment

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

minor changes and same comment about mypy/isort section.

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"

pyproject.toml Show resolved Hide resolved
@joanise joanise merged commit fcaa886 into main Feb 11, 2025
2 checks passed
@joanise joanise deleted the dev.ej/pyproject branch February 11, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants