Skip to content

Python setup.py install deprecation #12

@bkmgit

Description

@bkmgit

This will be deprecated in Python 3.12 (https://docs.python.org/3/install/index.html).
Get the following warning:

SetuptoolsDeprecationWarning: setup.py install is deprecated.
Use build and pip and other standards-based tools.

pyproject.toml with hatchling seems to be the recommended approach:
https://packaging.python.org/en/latest/tutorials/packaging-projects/
https://scikit-hep.org/developer/pep621
https://discuss.python.org/t/removing-setup-cfg-and-setup-py-from-the-packaging-tutorial/16096/102?page=2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions