File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Use up-to-date ``setup.cfg ``/``pyproject.toml `` packaging setup.
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [
3+ # sync with setup.py until we discard non-pep-517/518
4+ " setuptools>=45.0" ,
5+ " setuptools-scm[toml]>=6.2.3" ,
6+ " wheel" ,
7+ ]
8+ build-backend = " setuptools.build_meta"
9+
10+ [tool .setuptools_scm ]
11+ write_to = " src/xdist/_version.py"
12+
113[tool .towncrier ]
214package = " xdist"
315filename = " CHANGELOG.rst"
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ install_requires =
4040 execnet>=1.1
4141 pytest>=6.0.0
4242 pytest-forked
43- setup_requires = setuptools_scm
43+ setup_requires = setuptools_scm>=6.0
4444
4545[options.packages.find]
4646where = src
Original file line number Diff line number Diff line change 11from setuptools import setup
22
33if __name__ == "__main__" :
4- setup (
5- use_scm_version = {"write_to" : "src/xdist/_version.py" },
6- )
4+ setup ()
You can’t perform that action at this time.
0 commit comments