File tree Expand file tree Collapse file tree 4 files changed +13
-14
lines changed
Expand file tree Collapse file tree 4 files changed +13
-14
lines changed Original file line number Diff line number Diff line change @@ -30,15 +30,15 @@ actions:
3030 # LookupError: setuptools-scm was unable to detect version for '/builddir/build/BUILD/ogr-0.11.1'.
3131 # Make sure you're either building from a fully intact git repository or PyPI tarballs.
3232 create-archive :
33- - python3 setup.py sdist --dist-dir ./fedora/
33+ - python3 -m build --sdist --outdir ./fedora/
3434 - bash -c "ls -1t ./fedora/*.tar.gz | head -n 1"
35- get-current-version : python3 setup.py --version
35+ get-current-version : python3 -m setuptools_scm
3636 pre-sync :
3737 # FMF has to be installed on system where you are calling this tool.
3838 - python3 plans/git_reference.py
3939
4040srpm_build_deps :
41- - python3-pip # "python3 setup.py --version" needs it
41+ - python3-build
4242 - python3-setuptools_scm
4343
4444jobs :
Original file line number Diff line number Diff line change 1+ [build-system ]
2+ requires = [
3+ " setuptools>=45" ,
4+ " setuptools_scm[toml]" ,
5+ " setuptools_scm_git_archive" ,
6+ ]
7+ build-backend = " setuptools.build_meta"
8+
9+ [tool .setuptools_scm ]
10+ version_scheme = " post-release"
Original file line number Diff line number Diff line change @@ -36,9 +36,6 @@ install_requires =
3636 typing-extensions
3737python_requires = >=3.9
3838include_package_data = True
39- setup_requires =
40- setuptools_scm
41- setuptools_scm_git_archive
4239
4340[options.extras_require]
4441testing =
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments