-
Notifications
You must be signed in to change notification settings - Fork 333
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
PEP 621: Migrate from setup.py to pyproject.toml #339
Conversation
29e004d
to
5d9c47e
Compare
Oh wow. That’s great. I’ll do a pr for #338 after we do this. |
ALWAYS add tests (#338) before making changes (like this PR) instead of vice versa. The before/after test runs can be enlightening. |
Ya wud be good to merge the tests first before this PR is merged imo |
5d9c47e
to
f09ff4a
Compare
Now tests are merged is this good to go? I have a feeling we should do a review of tests once we do #348 it should pass all tests |
Ready for review. |
Can we remove any instances of |
41d4cde
to
178f7c9
Compare
Yep. We should be able to I think we need to make a change too. Espeak needs to run on all platforms. It's fiddly though as espeak-ng needs to be on all platforms Not massively important. Linux is the main target |
try removing these skips now.. im hoping this should be ok.. |
Fixes #337
Blocked by #338python setup.py
and the use ofsetup.py
as a command line tool are deprecated #337Add test to action on commit #338How
Migrate
setup.py
tosetup.cfg
using setuptools-py2cfg plus manual modifications. Use setup-cfg-fmt to format the results.Migrate settings from
setup.cfg
intopyproject.toml
using ini2toml to do the file conversion and running pyproject-fmt and then validate-pyproject to validate the results.Why
https://setuptools.pypa.io/en/latest/userguide/quickstart.html#basic-use
From
validate-pyproject
README: