File tree Expand file tree Collapse file tree 3 files changed +10
-16
lines changed
Expand file tree Collapse file tree 3 files changed +10
-16
lines changed Original file line number Diff line number Diff line change @@ -142,10 +142,10 @@ CLI_ARGS=$1
142142# ###############################
143143
144144BASE=" .[packages]"
145- BASE_DEV=" .[packages,testing ]"
145+ BASE_DEV=" .[packages,dev ]"
146146if [[ $OSTYPE == ' darwin' * ]]; then
147147 BASE=" ."
148- BASE_DEV=" .[testing ]"
148+ BASE_DEV=" .[dev ]"
149149fi
150150
151151# Requirement arguments passed to pip and used by default or with --dev.
Original file line number Diff line number Diff line change 99#
1010
1111# ###############################################################################
12- # ScanCode release build script for PyPI sdists
12+ # ScanCode release build script for PyPI wheels.
13+ # Build a wheel for the current Python version
1314# ###############################################################################
1415
1516set -e
1617# Un-comment to trace execution
1718# set -x
1819
1920./configure --dev
20- venv/bin/python setup.py --quiet sdist
21+ venv/bin/scancode-reindex-licenses
22+ venv/bin/scancode-reindex-package-patterns
23+ venv/bin/scancode-train-gibberish-model
2124
22- rm -rf build .eggs src/scancode_toolkit* .egg-info src/scancode_toolkit_mini* .egg-info
23- cp setup.cfg setup-main.cfg
24- cp setup-mini.cfg setup.cfg
25-
26- venv/bin/python setup.py --quiet sdist
27-
28- cp setup-main.cfg setup.cfg
29- rm setup-main.cfg
25+ # build license data packages
26+ venv/bin/flot --pyproject pyproject-licensedcode-data.toml --wheel --sdist
27+ venv/bin/flot --pyproject pyproject-licensedcode-index.toml --wheel --sdist
3028
3129venv/bin/twine check dist/*
3230
Original file line number Diff line number Diff line change @@ -22,10 +22,6 @@ venv/bin/scancode-reindex-licenses
2222venv/bin/scancode-reindex-package-patterns
2323venv/bin/scancode-train-gibberish-model
2424
25- # build license data packages
26- venv/bin/flot --pyproject pyproject-licensedcode-data.toml --wheel --sdist
27- venv/bin/flot --pyproject pyproject-licensedcode-index.toml --wheel --sdist
28-
2925# build code packages
3026venv/bin/flot --pyproject pyproject-scancode-toolkit.toml --wheel --sdist
3127venv/bin/flot --pyproject pyproject-scancode-toolkit-mini.toml --wheel --sdist
You can’t perform that action at this time.
0 commit comments