Open kislyuk opened 2 years ago
@kislyuk This is somewhat separate:
Are you open for a PR with just the pyproject.toml (PEP 518, PEP 621)? (and an option to use flit / whatever system in the future?)
I am not familiar with flit best practices, but can do the pyproject.toml part.
Example I have: https://github.com/thisch/pytest-sphinx/pull/41/files
More heavy duty:
hatch shell
command? I heard about it today and it looks promising. I can try it in a separate PR if you'd likeP.S. I haven't tried hatch before, I use poetry 1.2 on all my projects (and it's very mature at this stage)
Thanks for the offer. I'm open to a PR for migrating setup.py contents to pyproject.toml, but not to hatch.
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:
pyproject.toml
setuptools
is still in beta. (guess this is because of all the legacy it has)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)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). 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!
Hi @halfow , I left a review in the PR. To your other questions-
Thank you for the clarification and answers :)
I will update accordingly.
Once that is done, add
build
to the build dependencies in pyproject.toml.