It looks like the new standard is a pyproject.toml file instead of setup.py. For example, see the one for NetworkX.