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

add support for new Python pyproject.toml standard: setup.py install is deprecated #208

Open
pabs3 opened this issue Aug 4, 2023 · 0 comments

Comments

@pabs3
Copy link
Contributor

pabs3 commented Aug 4, 2023

When I build the Debian package of git-imerge with Python 3.11 and setuptools 67.8.0 I get a warning about setup.py install being deprecated. Please consider adding support for pyproject.toml (setuptools pyproject.toml guide) so that users and distros can build/install git-imerge without using the setup.py script.

/usr/bin/python3 setup.py install --root /home/pabs/devel/debian/misc/git-imerge/git-imerge-1.2.0/debian/git-imerge 
running install
/usr/lib/python3/dist-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer, pypa/build or
        other standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
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

No branches or pull requests

1 participant