kislyuk / argcomplete

Python and tab completion, better together.
https://kislyuk.github.io/argcomplete/
Apache License 2.0
1.39k stars 129 forks source link

Migrate to pyproject.toml #363

Open kislyuk opened 2 years ago

kislyuk commented 2 years ago

Once that is done, add build to the build dependencies in pyproject.toml.

tony commented 1 year ago

@kislyuk This is somewhat separate:

kislyuk commented 1 year ago

Thanks for the offer. I'm open to a PR for migrating setup.py contents to pyproject.toml, but not to hatch.

halfow commented 1 year ago

Hi @kislyuk !

This looked like the ball was dropped on so I picked it up :)

I took a look at using the regular setuptools for migration to pure pyproject.toml as it's the one already used.
Here are things that I noted looking at a possible migration:

  1. pyproject.toml setuptools is still in beta. (guess this is because of all the legacy it has)
  2. setup.py scripts has been deprecated and project.scripts in pyproject.toml is recommended as the migration path (entry_points instead of stand alone scripts)
  3. setup.py url is deprecated in pyproject.toml and use of project.urls seems to be encouraged. This one has impact on pip show as Home-page will be missing (Beta things I guess).
  4. Are the setup.cfg bdist_rpm used? Latest RPM release I find is 1.8.1. This makes me believe that this is not used anymore.

Thanks for this awesome project!

kislyuk commented 1 year ago

Hi @halfow , I left a review in the PR. To your other questions-

halfow commented 1 year ago

Thank you for the clarification and answers :)

I will update accordingly.