@@ -406,9 +406,8 @@ jobs:
406
406
command : |
407
407
python3 -m venv /tmp/buildenv
408
408
source /tmp/buildenv/bin/activate
409
- python3 -m pip install "setuptools ~= 42.0" wheel "setuptools_scm[toml] >= 3.4" \
410
- "pip>=10.0.1" twine docutils
411
- python setup.py sdist bdist_wheel
409
+ python3 -m pip install --upgrade pip build twine
410
+ python3 -m build
412
411
twine check dist/sdcflows*
413
412
- store_artifacts :
414
413
path : /tmp/src/sdcflows/dist
@@ -420,8 +419,8 @@ jobs:
420
419
command : |
421
420
python3 -m venv /tmp/install_sdist
422
421
source /tmp/install_sdist/bin/activate
423
- python3 -m pip install "setuptools ~= 42.0" " pip>=10.0.1"
424
- THISVERSION=$( python3 setup.py --version )
422
+ python3 -m pip install --upgrade pip setuptools_scm
423
+ THISVERSION=$( python3 -m setuptools_scm )
425
424
THISVERSION=${CIRCLE_TAG:-$THISVERSION}
426
425
python3 -m pip install dist/sdcflows*.tar.gz
427
426
INSTALLED_VERSION=$(python3 -c 'import sdcflows as sdc; print(sdc.__version__, end="")')
@@ -433,8 +432,8 @@ jobs:
433
432
command : |
434
433
python3 -m venv /tmp/install_wheel
435
434
source /tmp/install_wheel/bin/activate
436
- python3 -m pip install "setuptools ~= 42.0" " pip>=10.0.1"
437
- THISVERSION=$( python3 setup.py --version )
435
+ python3 -m pip install --upgrade pip setuptools_scm
436
+ THISVERSION=$( python3 -m setuptools_scm )
438
437
THISVERSION=${CIRCLE_TAG:-$THISVERSION}
439
438
python3 -m pip install dist/sdcflows*.whl
440
439
INSTALLED_VERSION=$(python3 -c 'import sdcflows as sdc; print(sdc.__version__, end="")')
0 commit comments